parent
cee12fd6a5
commit
48e96ba301
|
@ -290,7 +290,7 @@ class RequirementSet implements RecursiveIterator
|
|||
*/
|
||||
public function valid(): bool
|
||||
{
|
||||
return $this->key() !== null;
|
||||
return key($this->requirements) !== null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue