Skip to content

Commit ecfb547

Browse files
Update docblock to accept an Expression for whereLike methods (#52299)
1 parent ff5cdef commit ecfb547

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Illuminate/Database/Query/Builder.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ public function orWhereRaw($sql, $bindings = [])
11241124
/**
11251125
* Add a "where like" clause to the query.
11261126
*
1127-
* @param string $column
1127+
* @param \Illuminate\Contracts\Database\Query\Expression|string $column
11281128
* @param string $value
11291129
* @param bool $caseSensitive
11301130
* @param string $boolean
@@ -1149,7 +1149,7 @@ public function whereLike($column, $value, $caseSensitive = false, $boolean = 'a
11491149
/**
11501150
* Add an "or where like" clause to the query.
11511151
*
1152-
* @param string $column
1152+
* @param \Illuminate\Contracts\Database\Query\Expression|string $column
11531153
* @param string $value
11541154
* @param bool $caseSensitive
11551155
* @return $this
@@ -1162,7 +1162,7 @@ public function orWhereLike($column, $value, $caseSensitive = false)
11621162
/**
11631163
* Add a "where not like" clause to the query.
11641164
*
1165-
* @param string $column
1165+
* @param \Illuminate\Contracts\Database\Query\Expression|string $column
11661166
* @param string $value
11671167
* @param bool $caseSensitive
11681168
* @param string $boolean
@@ -1176,7 +1176,7 @@ public function whereNotLike($column, $value, $caseSensitive = false, $boolean =
11761176
/**
11771177
* Add an "or where not like" clause to the query.
11781178
*
1179-
* @param string $columns
1179+
* @param \Illuminate\Contracts\Database\Query\Expression|string $column
11801180
* @param string $value
11811181
* @param bool $caseSensitive
11821182
* @return $this

0 commit comments

Comments
 (0)