chore: style changes

This commit is contained in:
Nuno Maduro
2023-03-21 13:42:21 +00:00
parent f4d19c90d3
commit 236a9bd7ce
3 changed files with 4 additions and 4 deletions

View File

@ -64,7 +64,7 @@ final class Expectation
*/
public function and(mixed $value): Expectation
{
return $value instanceof static ? $value : new self($value);
return $value instanceof self ? $value : new self($value);
}
/**