Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Commit

Permalink
Fix: Correct IDE helper return types
Browse files Browse the repository at this point in the history
  • Loading branch information
mpyw committed Jun 29, 2020
1 parent 7f960bb commit b8dbc0d
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions _laravel_ide_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit b8dbc0d

Please sign in to comment.