Skip to content

Commit 45ff794

Browse files
committed
used typehint 'iterable'
1 parent d0a2c82 commit 45ff794

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Database/Table/ActiveRow.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function related($key, $throughColumn = NULL)
161161

162162
/**
163163
* Updates row.
164-
* @param array|\Traversable (column => value)
164+
* @param iterable (column => value)
165165
* @return bool
166166
*/
167167
public function update($data)

src/Database/Table/Selection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ public function insert($data)
863863
/**
864864
* Updates all rows in result set.
865865
* Joins in UPDATE are supported only in MySQL
866-
* @param array|\Traversable ($column => $value)
866+
* @param iterable ($column => $value)
867867
* @return int number of affected rows
868868
*/
869869
public function update($data)

0 commit comments

Comments
 (0)