mirror of
https://github.com/pestphp/pest.git
synced 2026-04-20 22:20:17 +02:00
chore: code style changes
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