Skip to content

Conversation

@kamil-tekiela
Copy link
Contributor

This is broken polymorphism as the type breaks contravariance. Actually, this method seems to break every rule of OOP. So this is just a small bandaid over the larger issue, which requires a little bit more work.

@codecov
Copy link

codecov bot commented Jun 10, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01 ⚠️

Comparison is base (d6e0d4c) 96.62% compared to head (bb7a7f6) 96.61%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #481      +/-   ##
============================================
- Coverage     96.62%   96.61%   -0.01%     
+ Complexity     2177     2176       -1     
============================================
  Files            66       66              
  Lines          5060     5058       -2     
============================================
- Hits           4889     4887       -2     
  Misses          171      171              
Impacted Files Coverage Δ
src/Components/Condition.php 100.00% <ø> (ø)
src/Components/ParameterDefinition.php 100.00% <ø> (ø)
src/Components/WithKeyword.php 76.47% <ø> (-2.48%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@williamdes williamdes requested a review from MauricioFauth June 13, 2023 20:25
Copy link
Member

@williamdes williamdes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code change looks okay

Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
@kamil-tekiela kamil-tekiela force-pushed the Fix-build-param-types branch from f69b6e6 to bb7a7f6 Compare July 22, 2023 14:46
@MauricioFauth MauricioFauth merged commit f24633d into phpmyadmin:master Jul 26, 2023
@MauricioFauth MauricioFauth self-assigned this Jul 26, 2023
@MauricioFauth MauricioFauth added this to the 6.0.0 milestone Jul 26, 2023
@kamil-tekiela kamil-tekiela deleted the Fix-build-param-types branch July 26, 2023 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants