| 1 | <?php |
||||||
| 2 | |||||||
| 3 | namespace Illuminate\Database\Eloquent |
||||||
| 4 | { |
||||||
| 5 | if (false) { |
||||||
| 6 | class Builder |
||||||
| 7 | { |
||||||
| 8 | /** |
||||||
| 9 | * Convert has() and whereHas() constraints to non-dependent subqueries. |
||||||
| 10 | * |
||||||
| 11 | * @param string|string[] $relationMethod |
||||||
| 12 | * @param callable[]|null[] $constraints |
||||||
| 13 | * @return $this |
||||||
| 14 | * @see \Mpyw\EloquentHasByNonDependentSubquery\HasByNonDependentSubqueryMacro |
||||||
| 15 | */ |
||||||
| 16 | public function hasByNonDependentSubquery($relationMethod, ?callable ...$constraints) |
||||||
|
0 ignored issues
–
show
The parameter
$relationMethod 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. Loading history...
|
|||||||
| 17 | { |
||||||
| 18 | return $this; |
||||||
| 19 | } |
||||||
| 20 | |||||||
| 21 | /** |
||||||
| 22 | * Convert has() and whereHas() constraints to non-dependent subqueries. |
||||||
| 23 | * |
||||||
| 24 | * @param string|string[] $relationMethod |
||||||
| 25 | * @param callable[]|null[] $constraints |
||||||
| 26 | * @return $this |
||||||
| 27 | * @see \Mpyw\EloquentHasByNonDependentSubquery\HasByNonDependentSubqueryMacro |
||||||
| 28 | */ |
||||||
| 29 | public function orHasByNonDependentSubquery($relationMethod, ?callable ...$constraints) |
||||||
|
0 ignored issues
–
show
The parameter
$relationMethod 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. Loading history...
The parameter
$constraints 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. Loading history...
|
|||||||
| 30 | { |
||||||
| 31 | return $this; |
||||||
| 32 | } |
||||||
| 33 | |||||||
| 34 | /** |
||||||
| 35 | * Convert has() and whereHas() constraints to non-dependent subqueries. |
||||||
| 36 | * |
||||||
| 37 | * @param string|string[] $relationMethod |
||||||
| 38 | * @param callable[]|null[] $constraints |
||||||
| 39 | * @return $this |
||||||
| 40 | * @see \Mpyw\EloquentHasByNonDependentSubquery\HasByNonDependentSubqueryMacro |
||||||
| 41 | */ |
||||||
| 42 | public function doesntHaveByNonDependentSubquery($relationMethod, ?callable ...$constraints) |
||||||
|
0 ignored issues
–
show
The parameter
$constraints 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. Loading history...
The parameter
$relationMethod 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. Loading history...
|
|||||||
| 43 | { |
||||||
| 44 | return $this; |
||||||
| 45 | } |
||||||
| 46 | |||||||
| 47 | /** |
||||||
| 48 | * Convert has() and whereHas() constraints to non-dependent subqueries. |
||||||
| 49 | * |
||||||
| 50 | * @param string|string[] $relationMethod |
||||||
| 51 | * @param callable[]|null[] $constraints |
||||||
| 52 | * @return $this |
||||||
| 53 | * @see \Mpyw\EloquentHasByNonDependentSubquery\HasByNonDependentSubqueryMacro |
||||||
| 54 | */ |
||||||
| 55 | public function orDoesntHaveByNonDependentSubquery($relationMethod, ?callable ...$constraints) |
||||||
|
0 ignored issues
–
show
The parameter
$constraints 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. Loading history...
The parameter
$relationMethod 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. Loading history...
|
|||||||
| 56 | { |
||||||
| 57 | return $this; |
||||||
| 58 | } |
||||||
| 59 | } |
||||||
| 60 | } |
||||||
| 61 | } |
||||||
| 62 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.