Skip to content

Commit f2362ff

Browse files
emtudodriesvintstaylorotwell
authored
[10.x] type bool also needs to be accepted (#46241)
* type bool also needs to be accepted * Update src/Illuminate/Validation/Rules/DatabaseRule.php Co-authored-by: Dries Vints <[email protected]> * Update DatabaseRule.php --------- Co-authored-by: Dries Vints <[email protected]> Co-authored-by: Taylor Otwell <[email protected]>
1 parent da95415 commit f2362ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Validation/Rules/DatabaseRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function resolveTableName($table)
8181
* Set a "where" constraint on the query.
8282
*
8383
* @param \Closure|string $column
84-
* @param \Illuminate\Contracts\Support\Arrayable|array|string|int|null $value
84+
* @param \Illuminate\Contracts\Support\Arrayable|array|string|int|bool|null $value
8585
* @return $this
8686
*/
8787
public function where($column, $value = null)

0 commit comments

Comments
 (0)