From b8dbc0dd2bd3edc87a49b1752ab0040f059153ea Mon Sep 17 00:00:00 2001 From: mpyw Date: Mon, 29 Jun 2020 12:09:38 +0900 Subject: [PATCH] Fix: Correct IDE helper return types --- _laravel_ide_helper.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/_laravel_ide_helper.php b/_laravel_ide_helper.php index 6c8c188..e7746d8 100644 --- a/_laravel_ide_helper.php +++ b/_laravel_ide_helper.php @@ -8,9 +8,9 @@ class Builder /** * Convert has() and whereHas() constraints to non-dependent subqueries. * - * @param string|string[] $relationMethod - * @param callable[]|null[] $constraints - * @return \Illuminate\Database\Eloquent\Builder + * @param string|string[] $relationMethod + * @param callable[]|null[] $constraints + * @return $this * @see \Mpyw\EloquentHasByNonDependentSubquery\HasByNonDependentSubqueryMacro */ public function hasByNonDependentSubquery($relationMethod, ?callable ...$constraints) @@ -21,9 +21,9 @@ public function hasByNonDependentSubquery($relationMethod, ?callable ...$constra /** * Convert has() and whereHas() constraints to non-dependent subqueries. * - * @param string|string[] $relationMethod - * @param callable[]|null[] $constraints - * @return \Illuminate\Database\Eloquent\Builder + * @param string|string[] $relationMethod + * @param callable[]|null[] $constraints + * @return $this * @see \Mpyw\EloquentHasByNonDependentSubquery\HasByNonDependentSubqueryMacro */ public function orHasByNonDependentSubquery($relationMethod, ?callable ...$constraints) @@ -34,9 +34,9 @@ public function orHasByNonDependentSubquery($relationMethod, ?callable ...$const /** * Convert has() and whereHas() constraints to non-dependent subqueries. * - * @param string|string[] $relationMethod - * @param callable[]|null[] $constraints - * @return \Illuminate\Database\Eloquent\Builder + * @param string|string[] $relationMethod + * @param callable[]|null[] $constraints + * @return $this * @see \Mpyw\EloquentHasByNonDependentSubquery\HasByNonDependentSubqueryMacro */ public function doesntHaveByNonDependentSubquery($relationMethod, ?callable ...$constraints) @@ -47,9 +47,9 @@ public function doesntHaveByNonDependentSubquery($relationMethod, ?callable ...$ /** * Convert has() and whereHas() constraints to non-dependent subqueries. * - * @param string|string[] $relationMethod - * @param callable[]|null[] $constraints - * @return \Illuminate\Database\Eloquent\Builder + * @param string|string[] $relationMethod + * @param callable[]|null[] $constraints + * @return $this * @see \Mpyw\EloquentHasByNonDependentSubquery\HasByNonDependentSubqueryMacro */ public function orDoesntHaveByNonDependentSubquery($relationMethod, ?callable ...$constraints)