mirror of
https://github.com/pestphp/pest.git
synced 2026-03-09 09:17:23 +01:00
chore: adjusts coding style
This commit is contained in:
@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user