yajra / pdo-via-oci8

PHP PDO_OCI functions via OCI8 extension
Other
88 stars 61 forks source link

Type error in Statement.php #35

Closed ircop closed 8 years ago

ircop commented 8 years ago

Type error: Argument 3 passed to Yajra\Pdo\Oci8\Statement::setFetchMode() must be of the type array, null given, called in .../vendor/yajra/laravel-pdo-via-oci8/src/Pdo/Oci8/Statement.php on line 563

This error throws after laravel's 5.2 code in Illuminate\Database\Connection.php:343: $fetchConstructorArgument = null; and then ? $statement->fetchAll($fetchMode, $fetchArgument, $fetchConstructorArgument)

Check for argument is null needed

nhowell commented 8 years ago

34 will fix this issue

yajra commented 8 years ago

PR merge and released on v1.1.1.