mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01: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