Skip to content

Commit

Permalink
Merge 783768c into 9c8ce2f
Browse files Browse the repository at this point in the history
  • Loading branch information
brettmc authored Sep 6, 2022
2 parents 9c8ce2f + 783768c commit dc63b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SDK/Metrics/MetricObserver/MultiObserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ final class MultiObserver implements MetricObserverInterface
public function __invoke(ObserverInterface $observer): void
{
foreach ($this->callbacks as $token => $callback) {
if (isset($this->callbacks[$token])) {
if (isset($this->callbacks[$token])) { //@phpstan-ignore-line callbacks can be unregistered during collection
$callback($observer);
}
}
Expand Down

0 comments on commit dc63b22

Please sign in to comment.