CommandTransport: Make sure to reset the config before calling current()
This commit is contained in:
parent
265725447d
commit
59ff4221f6
|
@ -108,7 +108,8 @@ abstract class CommandTransport
|
||||||
*/
|
*/
|
||||||
public static function first()
|
public static function first()
|
||||||
{
|
{
|
||||||
$config = self::getConfig()->current();
|
$config = self::getConfig();
|
||||||
return self::fromConfig($config);
|
$config->rewind();
|
||||||
|
return self::fromConfig($config->current());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue