1 | <?php |
||||||||||||||
2 | |||||||||||||||
3 | namespace Illuminate\Database\Eloquent |
||||||||||||||
4 | { |
||||||||||||||
5 | use Closure; |
||||||||||||||
6 | |||||||||||||||
7 | if (false) { |
||||||||||||||
8 | class Builder |
||||||||||||||
9 | { |
||||||||||||||
10 | /** |
||||||||||||||
11 | * Add a relationship count / whereIn condition to the query. |
||||||||||||||
12 | * |
||||||||||||||
13 | * @param \Illuminate\Database\Eloquent\Relations\Relation|string $relation |
||||||||||||||
14 | * @param string $operator |
||||||||||||||
15 | * @param int $count |
||||||||||||||
16 | * @param string $boolean |
||||||||||||||
17 | * @param \Closure|null $callback |
||||||||||||||
18 | * @return \Illuminate\Database\Eloquent\Builder|static |
||||||||||||||
19 | * |
||||||||||||||
20 | * @throws \RuntimeException |
||||||||||||||
21 | * |
||||||||||||||
22 | * @see \BiiiiiigMonster\Hasin\Database\Eloquent\BuilderMixin |
||||||||||||||
23 | */ |
||||||||||||||
24 | public function hasIn($relation, $operator = '>=', $count = 1, $boolean = 'and', Closure $callback = null) |
||||||||||||||
0 ignored issues
–
show
The parameter
$callback is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$operator is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$count is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$boolean is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||||||||
25 | { |
||||||||||||||
26 | return $this; |
||||||||||||||
27 | } |
||||||||||||||
28 | |||||||||||||||
29 | /** |
||||||||||||||
30 | * Add a relationship count / whereIn condition to the query with an "or". |
||||||||||||||
31 | * |
||||||||||||||
32 | * @param string $relation |
||||||||||||||
33 | * @param string $operator |
||||||||||||||
34 | * @param int $count |
||||||||||||||
35 | * @return \Illuminate\Database\Eloquent\Builder|static |
||||||||||||||
36 | * |
||||||||||||||
37 | * @see \BiiiiiigMonster\Hasin\Database\Eloquent\BuilderMixin |
||||||||||||||
38 | */ |
||||||||||||||
39 | public function orHasIn($relation, $operator = '>=', $count = 1) |
||||||||||||||
0 ignored issues
–
show
The parameter
$relation is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$operator is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$count is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||||||||
40 | { |
||||||||||||||
41 | return $this; |
||||||||||||||
42 | } |
||||||||||||||
43 | |||||||||||||||
44 | /** |
||||||||||||||
45 | * Add a relationship count / whereIn condition to the query. |
||||||||||||||
46 | * |
||||||||||||||
47 | * @param string $relation |
||||||||||||||
48 | * @param string $boolean |
||||||||||||||
49 | * @param \Closure|null $callback |
||||||||||||||
50 | * @return \Illuminate\Database\Eloquent\Builder|static |
||||||||||||||
51 | * |
||||||||||||||
52 | * @see \BiiiiiigMonster\Hasin\Database\Eloquent\BuilderMixin |
||||||||||||||
53 | */ |
||||||||||||||
54 | public function doesntHaveIn($relation, $boolean = 'and', Closure $callback = null) |
||||||||||||||
0 ignored issues
–
show
The parameter
$relation is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$boolean is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$callback is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||||||||
55 | { |
||||||||||||||
56 | return $this; |
||||||||||||||
57 | } |
||||||||||||||
58 | |||||||||||||||
59 | /** |
||||||||||||||
60 | * Add a relationship count / whereIn condition to the query with an "or". |
||||||||||||||
61 | * |
||||||||||||||
62 | * @return Closure |
||||||||||||||
63 | * |
||||||||||||||
64 | * @see \BiiiiiigMonster\Hasin\Database\Eloquent\BuilderMixin |
||||||||||||||
65 | */ |
||||||||||||||
66 | public function orDoesntHaveIn() |
||||||||||||||
67 | { |
||||||||||||||
68 | return $this; |
||||||||||||||
0 ignored issues
–
show
|
|||||||||||||||
69 | } |
||||||||||||||
70 | |||||||||||||||
71 | /** |
||||||||||||||
72 | * Add a relationship count / whereIn condition to the query with where clauses. |
||||||||||||||
73 | * |
||||||||||||||
74 | * @param string $relation |
||||||||||||||
75 | * @param \Closure|null $callback |
||||||||||||||
76 | * @param string $operator |
||||||||||||||
77 | * @param int $count |
||||||||||||||
78 | * @return \Illuminate\Database\Eloquent\Builder|static |
||||||||||||||
79 | * |
||||||||||||||
80 | * @see \BiiiiiigMonster\Hasin\Database\Eloquent\BuilderMixin |
||||||||||||||
81 | */ |
||||||||||||||
82 | public function whereHasIn($relation, Closure $callback = null, $operator = '>=', $count = 1) |
||||||||||||||
0 ignored issues
–
show
The parameter
$callback is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$count is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$relation is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$operator is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||||||||
83 | { |
||||||||||||||
84 | return $this; |
||||||||||||||
85 | } |
||||||||||||||
86 | |||||||||||||||
87 | /** |
||||||||||||||
88 | * Add a relationship count / whereIn condition to the query with where clauses and an "or". |
||||||||||||||
89 | * |
||||||||||||||
90 | * @param string $relation |
||||||||||||||
91 | * @param \Closure|null $callback |
||||||||||||||
92 | * @param string $operator |
||||||||||||||
93 | * @param int $count |
||||||||||||||
94 | * @return \Illuminate\Database\Eloquent\Builder|static |
||||||||||||||
95 | * |
||||||||||||||
96 | * @see \BiiiiiigMonster\Hasin\Database\Eloquent\BuilderMixin |
||||||||||||||
97 | */ |
||||||||||||||
98 | public function orWhereHasIn($relation, Closure $callback = null, $operator = '>=', $count = 1) |
||||||||||||||
0 ignored issues
–
show
The parameter
$relation is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$operator is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$count is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$callback is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||||||||
99 | { |
||||||||||||||
100 | return $this; |
||||||||||||||
101 | } |
||||||||||||||
102 | |||||||||||||||
103 | /** |
||||||||||||||
104 | * Add a relationship count / whereIn condition to the query with where clauses. |
||||||||||||||
105 | * |
||||||||||||||
106 | * @param string $relation |
||||||||||||||
107 | * @param \Closure|null $callback |
||||||||||||||
108 | * @return \Illuminate\Database\Eloquent\Builder|static |
||||||||||||||
109 | * |
||||||||||||||
110 | * @see \BiiiiiigMonster\Hasin\Database\Eloquent\BuilderMixin |
||||||||||||||
111 | */ |
||||||||||||||
112 | public function whereDoesntHaveIn($relation, Closure $callback = null) |
||||||||||||||
0 ignored issues
–
show
The parameter
$callback is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$relation is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||||||||
113 | { |
||||||||||||||
114 | return $this; |
||||||||||||||
115 | } |
||||||||||||||
116 | |||||||||||||||
117 | /** |
||||||||||||||
118 | * Add a relationship count / whereIn condition to the query with where clauses and an "or". |
||||||||||||||
119 | * |
||||||||||||||
120 | * @param string $relation |
||||||||||||||
121 | * @param \Closure|null $callback |
||||||||||||||
122 | * @return \Illuminate\Database\Eloquent\Builder|static |
||||||||||||||
123 | * |
||||||||||||||
124 | * @see \BiiiiiigMonster\Hasin\Database\Eloquent\BuilderMixin |
||||||||||||||
125 | */ |
||||||||||||||
126 | public function orWhereDoesntHaveIn($relation, Closure $callback = null) |
||||||||||||||
0 ignored issues
–
show
The parameter
$callback is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$relation is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||||||||
127 | { |
||||||||||||||
128 | return $this; |
||||||||||||||
129 | } |
||||||||||||||
130 | |||||||||||||||
131 | /** |
||||||||||||||
132 | * Add a polymorphic relationship count / whereIn condition to the query. |
||||||||||||||
133 | * |
||||||||||||||
134 | * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation |
||||||||||||||
135 | * @param string|array $types |
||||||||||||||
136 | * @param string $operator |
||||||||||||||
137 | * @param int $count |
||||||||||||||
138 | * @param string $boolean |
||||||||||||||
139 | * @param \Closure|null $callback |
||||||||||||||
140 | * @return \Illuminate\Database\Eloquent\Builder|static |
||||||||||||||
141 | * |
||||||||||||||
142 | * @see \BiiiiiigMonster\Hasin\Database\Eloquent\BuilderMixin |
||||||||||||||
143 | */ |
||||||||||||||
144 | public function hasMorphIn($relation, $types, $operator = '>=', $count = 1, $boolean = 'and', Closure $callback = null) |
||||||||||||||
0 ignored issues
–
show
The parameter
$count is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$callback is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$relation is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$operator is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$types is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$boolean is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||||||||
145 | { |
||||||||||||||
146 | return $this; |
||||||||||||||
147 | } |
||||||||||||||
148 | |||||||||||||||
149 | /** |
||||||||||||||
150 | * Add a polymorphic relationship count / whereIn condition to the query with an "or". |
||||||||||||||
151 | * |
||||||||||||||
152 | * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation |
||||||||||||||
153 | * @param string|array $types |
||||||||||||||
154 | * @param string $operator |
||||||||||||||
155 | * @param int $count |
||||||||||||||
156 | * @return \Illuminate\Database\Eloquent\Builder|static |
||||||||||||||
157 | * |
||||||||||||||
158 | * @see \BiiiiiigMonster\Hasin\Database\Eloquent\BuilderMixin |
||||||||||||||
159 | */ |
||||||||||||||
160 | public function orHasMorphIn($relation, $types, $operator = '>=', $count = 1) |
||||||||||||||
0 ignored issues
–
show
The parameter
$types is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$count is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$operator is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$relation is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||||||||
161 | { |
||||||||||||||
162 | return $this; |
||||||||||||||
163 | } |
||||||||||||||
164 | |||||||||||||||
165 | /** |
||||||||||||||
166 | * Add a polymorphic relationship count / whereIn condition to the query. |
||||||||||||||
167 | * |
||||||||||||||
168 | * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation |
||||||||||||||
169 | * @param string|array $types |
||||||||||||||
170 | * @param string $boolean |
||||||||||||||
171 | * @param \Closure|null $callback |
||||||||||||||
172 | * @return \Illuminate\Database\Eloquent\Builder|static |
||||||||||||||
173 | * |
||||||||||||||
174 | * @see \BiiiiiigMonster\Hasin\Database\Eloquent\BuilderMixin |
||||||||||||||
175 | */ |
||||||||||||||
176 | public function doesntHaveMorphIn($relation, $types, $boolean = 'and', Closure $callback = null) |
||||||||||||||
0 ignored issues
–
show
The parameter
$callback is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$boolean is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$types is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$relation is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||||||||
177 | { |
||||||||||||||
178 | return $this; |
||||||||||||||
179 | } |
||||||||||||||
180 | |||||||||||||||
181 | /** |
||||||||||||||
182 | * Add a polymorphic relationship count / whereIn condition to the query with an "or". |
||||||||||||||
183 | * |
||||||||||||||
184 | * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation |
||||||||||||||
185 | * @param string|array $types |
||||||||||||||
186 | * @return \Illuminate\Database\Eloquent\Builder|static |
||||||||||||||
187 | * |
||||||||||||||
188 | * @see \BiiiiiigMonster\Hasin\Database\Eloquent\BuilderMixin |
||||||||||||||
189 | */ |
||||||||||||||
190 | public function orDoesntHaveMorphIn($relation, $types) |
||||||||||||||
0 ignored issues
–
show
The parameter
$relation is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$types is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||||||||
191 | { |
||||||||||||||
192 | return $this; |
||||||||||||||
193 | } |
||||||||||||||
194 | |||||||||||||||
195 | /** |
||||||||||||||
196 | * Add a polymorphic relationship count / whereIn condition to the query with where clauses. |
||||||||||||||
197 | * |
||||||||||||||
198 | * @see \BiiiiiigMonster\Hasin\Database\Eloquent\BuilderMixin |
||||||||||||||
199 | * |
||||||||||||||
200 | * @return Closure |
||||||||||||||
201 | */ |
||||||||||||||
202 | public function whereHasMorphIn() |
||||||||||||||
203 | { |
||||||||||||||
204 | return $this; |
||||||||||||||
0 ignored issues
–
show
|
|||||||||||||||
205 | } |
||||||||||||||
206 | |||||||||||||||
207 | /** |
||||||||||||||
208 | * Add a polymorphic relationship count / whereIn condition to the query with where clauses. |
||||||||||||||
209 | * |
||||||||||||||
210 | * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation |
||||||||||||||
211 | * @param string|array $types |
||||||||||||||
212 | * @param \Closure|null $callback |
||||||||||||||
213 | * @param string $operator |
||||||||||||||
214 | * @param int $count |
||||||||||||||
215 | * @return \Illuminate\Database\Eloquent\Builder|static |
||||||||||||||
216 | * |
||||||||||||||
217 | * @see \BiiiiiigMonster\Hasin\Database\Eloquent\BuilderMixin |
||||||||||||||
218 | */ |
||||||||||||||
219 | public function orWhereHasMorphIn($relation, $types, Closure $callback = null, $operator = '>=', $count = 1) |
||||||||||||||
0 ignored issues
–
show
The parameter
$count is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$operator is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$callback is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$types is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$relation is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||||||||
220 | { |
||||||||||||||
221 | return $this; |
||||||||||||||
222 | } |
||||||||||||||
223 | |||||||||||||||
224 | /** |
||||||||||||||
225 | * Add a polymorphic relationship count / whereIn condition to the query with where clauses. |
||||||||||||||
226 | * |
||||||||||||||
227 | * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation |
||||||||||||||
228 | * @param string|array $types |
||||||||||||||
229 | * @param \Closure|null $callback |
||||||||||||||
230 | * @return \Illuminate\Database\Eloquent\Builder|static |
||||||||||||||
231 | * |
||||||||||||||
232 | * @see \BiiiiiigMonster\Hasin\Database\Eloquent\BuilderMixin |
||||||||||||||
233 | */ |
||||||||||||||
234 | public function whereDoesntHaveMorphIn($relation, $types, Closure $callback = null) |
||||||||||||||
0 ignored issues
–
show
The parameter
$types is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$relation is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$callback is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||||||||
235 | { |
||||||||||||||
236 | return $this; |
||||||||||||||
237 | } |
||||||||||||||
238 | |||||||||||||||
239 | /** |
||||||||||||||
240 | * Add a polymorphic relationship count / whereIn condition to the query with where clauses and an "or". |
||||||||||||||
241 | * |
||||||||||||||
242 | * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation |
||||||||||||||
243 | * @param string|array $types |
||||||||||||||
244 | * @param \Closure|null $callback |
||||||||||||||
245 | * @return \Illuminate\Database\Eloquent\Builder|static |
||||||||||||||
246 | * |
||||||||||||||
247 | * @see \BiiiiiigMonster\Hasin\Database\Eloquent\BuilderMixin |
||||||||||||||
248 | */ |
||||||||||||||
249 | public function orWhereDoesntHaveMorphIn($relation, $types, Closure $callback = null) |
||||||||||||||
0 ignored issues
–
show
The parameter
$relation is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$types is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$callback is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||||||||
250 | { |
||||||||||||||
251 | return $this; |
||||||||||||||
252 | } |
||||||||||||||
253 | |||||||||||||||
254 | /** |
||||||||||||||
255 | * Add a basic where clause to a relationship query. |
||||||||||||||
256 | * |
||||||||||||||
257 | * @param string $relation |
||||||||||||||
258 | * @param \Closure|string|array|\Illuminate\Database\Query\Expression $column |
||||||||||||||
259 | * @param mixed $operator |
||||||||||||||
260 | * @param mixed $value |
||||||||||||||
261 | * @return \Illuminate\Database\Eloquent\Builder|static |
||||||||||||||
262 | */ |
||||||||||||||
263 | public function whereRelationIn($relation, $column, $operator = null, $value = null) |
||||||||||||||
0 ignored issues
–
show
The parameter
$column is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$relation is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$operator is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$value is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||||||||
264 | { |
||||||||||||||
265 | return $this; |
||||||||||||||
266 | } |
||||||||||||||
267 | |||||||||||||||
268 | /** |
||||||||||||||
269 | * Add an "or where" clause to a relationship query. |
||||||||||||||
270 | * |
||||||||||||||
271 | * @param string $relation |
||||||||||||||
272 | * @param \Closure|string|array|\Illuminate\Database\Query\Expression $column |
||||||||||||||
273 | * @param mixed $operator |
||||||||||||||
274 | * @param mixed $value |
||||||||||||||
275 | * @return \Illuminate\Database\Eloquent\Builder|static |
||||||||||||||
276 | */ |
||||||||||||||
277 | public function orWhereRelationIn($relation, $column, $operator = null, $value = null) |
||||||||||||||
0 ignored issues
–
show
The parameter
$operator is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$relation is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$value is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$column is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||||||||
278 | { |
||||||||||||||
279 | return $this; |
||||||||||||||
280 | } |
||||||||||||||
281 | |||||||||||||||
282 | /** |
||||||||||||||
283 | * Add a polymorphic relationship condition to the query with a where clause. |
||||||||||||||
284 | * |
||||||||||||||
285 | * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation |
||||||||||||||
286 | * @param string|array $types |
||||||||||||||
287 | * @param \Closure|string|array|\Illuminate\Database\Query\Expression $column |
||||||||||||||
288 | * @param mixed $operator |
||||||||||||||
289 | * @param mixed $value |
||||||||||||||
290 | * @return \Illuminate\Database\Eloquent\Builder|static |
||||||||||||||
291 | */ |
||||||||||||||
292 | public function whereMorphRelationIn($relation, $types, $column, $operator = null, $value = null) |
||||||||||||||
0 ignored issues
–
show
The parameter
$operator is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$value is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$types is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$column is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$relation is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||||||||
293 | { |
||||||||||||||
294 | return $this; |
||||||||||||||
295 | } |
||||||||||||||
296 | |||||||||||||||
297 | /** |
||||||||||||||
298 | * Add a polymorphic relationship condition to the query with an "or where" clause. |
||||||||||||||
299 | * |
||||||||||||||
300 | * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation |
||||||||||||||
301 | * @param string|array $types |
||||||||||||||
302 | * @param \Closure|string|array|\Illuminate\Database\Query\Expression $column |
||||||||||||||
303 | * @param mixed $operator |
||||||||||||||
304 | * @param mixed $value |
||||||||||||||
305 | * @return \Illuminate\Database\Eloquent\Builder|static |
||||||||||||||
306 | */ |
||||||||||||||
307 | public function orWhereMorphRelationIn($relation, $types, $column, $operator = null, $value = null) |
||||||||||||||
0 ignored issues
–
show
The parameter
$types is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$column is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$relation is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$value is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$operator is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||||||||||
308 | { |
||||||||||||||
309 | return $this; |
||||||||||||||
310 | } |
||||||||||||||
311 | } |
||||||||||||||
312 | } |
||||||||||||||
313 | } |
||||||||||||||
314 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.