Open gplanchat opened 2 years ago
Hello,
In the class WyriHaximus\React\ChildProcess\Pool\ProcessCollection\Single, the next method is returning a bool value (which isalways false). this next method should have a void return type, following the Iterator interface.
WyriHaximus\React\ChildProcess\Pool\ProcessCollection\Single
next
false
Iterator
I cannot find any usage of this value elsewhere than in tests. Is this return value necessary in some point ?
IIRC it shouldn't so feel free to PR it out of there :+1:
Hello,
In the class
WyriHaximus\React\ChildProcess\Pool\ProcessCollection\Single
, thenext
method is returning a bool value (which isalwaysfalse
). thisnext
method should have a void return type, following theIterator
interface.I cannot find any usage of this value elsewhere than in tests. Is this return value necessary in some point ?