for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Illuminate\Database\Eloquent
{
if (false) {
class Builder
/**
* Convert has() and whereHas() constraints to non-dependent subqueries.
*
* @param string|string[] $relationMethod
* @param callable[]|null[] $constraints
* @return $this
* @see \Mpyw\EloquentHasByNonDependentSubquery\HasByNonDependentSubqueryMacro
*/
public function hasByNonDependentSubquery($relationMethod, ?callable ...$constraints)
$relationMethod
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$constraints
return $this;
}
public function orHasByNonDependentSubquery($relationMethod, ?callable ...$constraints)
public function doesntHaveByNonDependentSubquery($relationMethod, ?callable ...$constraints)
public function orDoesntHaveByNonDependentSubquery($relationMethod, ?callable ...$constraints)
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.