Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use self to access private method in BaseFormatConverter #20018

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

rob006
Copy link
Contributor

@rob006 rob006 commented Oct 19, 2023

Addition to #20014 - using self ensures that PHP won't use method with the same name in child class.

@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e029988) 48.95% compared to head (febbe0f) 48.95%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #20018   +/-   ##
=======================================
  Coverage   48.95%   48.95%           
=======================================
  Files         445      445           
  Lines       42844    42844           
=======================================
  Hits        20973    20973           
  Misses      21871    21871           
Files Coverage Δ
framework/helpers/BaseFormatConverter.php 10.34% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bizley bizley merged commit 75e5a08 into yiisoft:master Oct 20, 2023
49 checks passed
@bizley
Copy link
Member

bizley commented Oct 20, 2023

👍🏻

@bizley bizley added this to the 2.0.50 milestone Oct 20, 2023
@rob006 rob006 deleted the patch-1 branch October 20, 2023 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants