Open
Description
I have a similar problem with #66
When i try to mock laravel database (v5.2.45) file /vendor/illuminate/database/Query/Builder.php
/** * Get a generator for the given query. * * @return \Generator */ public function cursor() { if (is_null($this->columns)) { $this->columns = ['*']; } return $this->connection->cursor( $this->toSql(), $this->getBindings(), ! $this->useWritePdo ); }
Something goes wrong with this function, and tests fails with
PHP Fatal error: Generators cannot return values using "return" in /www/backend/vendor/illuminate/database/Query/Builder.php on line 1750
How can I fix this?
Metadata
Metadata
Assignees
Labels
No labels