Skip to content

Commit

Permalink
Fix too strict type for $data of Connection::update()
Browse files Browse the repository at this point in the history
  • Loading branch information
mxhash authored and nilmerg committed Feb 20, 2020
1 parent efd5c42 commit aaa6382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ public function insert($table, $data)
*
* @throws \InvalidArgumentException If data type is invalid
*/
public function update($table, array $data, $condition = null, $operator = Sql::ALL)
public function update($table, $data, $condition = null, $operator = Sql::ALL)
{
$update = (new Update())
->table($table)
Expand Down

0 comments on commit aaa6382

Please sign in to comment.