chore: code style changes

This commit is contained in:
Nuno Maduro
2023-12-15 11:42:09 +00:00
parent dd0dddffd4
commit 453133d382
11 changed files with 20 additions and 20 deletions

View File

@ -190,7 +190,7 @@ final class Expectation
*
* @return EachExpectation<TValue>
*/
public function each(callable $callback = null): EachExpectation
public function each(?callable $callback = null): EachExpectation
{
if (! is_iterable($this->value)) {
throw new BadMethodCallException('Expectation value is not iterable.');