src/Illuminate/Database/Eloquent/PendingHasThroughRelationship.php
Method has
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function has($callback)
{
if (is_string($callback)) {
$callback = fn () => $this->localRelationship->getRelated()->{$callback}();
}