chore: adjusts coding style

This commit is contained in:
Nuno Maduro
2024-01-11 11:30:11 +00:00
parent 1506d8bb27
commit ab64912c70
11 changed files with 21 additions and 21 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.');