Fix lingering }

Remove remaining } in toMatchObject.
This commit is contained in:
AFS
2025-02-25 15:41:17 +01:00
committed by GitHub
parent 1ad30a97b3
commit 0bdaef29e9

View File

@ -815,11 +815,10 @@ final class Expectation
$propertyValue = $this->value->{$property};
$second_message = $message !== '' ? $message : sprintf(
'Failed asserting that an object has a property %s with the value %s.',
$this->export($property),
$this->export($propertyValue),
);
}
'Failed asserting that an object has a property %s with the value %s.',
$this->export($property),
$this->export($propertyValue),
);
Assert::assertEquals($value, $propertyValue, $second_message);
}