Skip to content

Conversation

Tigrov
Copy link
Member

@Tigrov Tigrov commented May 9, 2025

This overrides AbstractActiveRecord::refresh()

public function refresh(): bool
{
$record = $this->query($this)->findByPk($this->getPrimaryKey(true));
return $this->refreshInternal($record);
}

Q A
Is bugfix?
New feature?
Breaks BC?
Fixed issues

Copy link

codecov bot commented May 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.62%. Comparing base (1b24f4e) to head (b352d25).
Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #420      +/-   ##
============================================
+ Coverage     88.47%   88.62%   +0.15%     
+ Complexity      562      560       -2     
============================================
  Files            17       17              
  Lines          1336     1328       -8     
============================================
- Hits           1182     1177       -5     
+ Misses          154      151       -3     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Tigrov Tigrov requested a review from a team May 10, 2025 13:49
@Tigrov Tigrov closed this May 12, 2025
@Tigrov Tigrov reopened this May 12, 2025
@Tigrov Tigrov merged commit 7f103e7 into master May 12, 2025
71 of 72 checks passed
@Tigrov Tigrov deleted the remove-refresh() branch May 12, 2025 06:53
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