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 join() ones for BelongsTo and HasOne relations.
*
* @param string|string[] $relationMethod
* @param callable[]|null[] $constraints
* @return $this
* @see \Mpyw\EloquentHasByJoin\HasByJoinMacro
*/
public function hasByJoin($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;
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.