mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
revert null old-target logic
This commit is contained in:
@ -30,7 +30,7 @@ final class HigherOrderMessageCollection
|
||||
public function chain(object $target): void
|
||||
{
|
||||
foreach ($this->messages as $message) {
|
||||
$target = $message->call($target) ?? $target;
|
||||
$target = $message->call($target);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user