Closed netinhoteixeira closed 2 years ago
…Array to string conversion.
When using in PHP 8.1.6, this error is happing:
Array to string conversion.
The problem that when executing with PHP 8.1.6, on passing bindings parameters using array, this is changing to multiple array and not a simple array.
Sendend: ->bind([':email' => 'test@email.com']) At binding: [ 0 => [ ':email' => 'test@email.com' ] ] Expected: [ ':email' => 'test@email.com' ]
Thanks for opening this PR. I'll go through it and have it merged
…Array to string conversion.
When using in PHP 8.1.6, this error is happing:
Array to string conversion.
Description
The problem that when executing with PHP 8.1.6, on passing bindings parameters using array, this is changing to multiple array and not a simple array.
Sendend: ->bind([':email' => 'test@email.com']) At binding: [ 0 => [ ':email' => 'test@email.com' ] ] Expected: [ ':email' => 'test@email.com' ]