mirror of
https://github.com/pestphp/pest.git
synced 2026-04-21 22:47:27 +02:00
fix: type check
This commit is contained in:
@ -186,7 +186,7 @@ final class Expectation
|
||||
throw new BadMethodCallException('Expectation value is not iterable.');
|
||||
}
|
||||
|
||||
if (empty($callbacks)) {
|
||||
if (count($callbacks) == 0) {
|
||||
throw new InvalidArgumentException('No sequence expectations defined.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user