Skip to content

Commit

Permalink
Removed deprecated has() method from AbstractEloquentRepository
Browse files Browse the repository at this point in the history
  • Loading branch information
micheleangioni committed May 17, 2017
1 parent f6dc5f9 commit 44dc17c
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/MicheleAngioni/Support/Repos/AbstractEloquentRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,23 +261,6 @@ public function getNotIn(
return $query->get();
}

/**
* Return all results that have a required relationship.
*
* @param string $relation
* @param array $where
* @param array $with
* @param int $hasAtLeast = 1
*
* @deprecated
*
* @return Collection
*/
public function has($relation, array $where = [], array $with = [], $hasAtLeast = 1)
{
return $this->getHas($relation, $where, $with, $hasAtLeast);
}

/**
* Return all results that have a required relationship.
*
Expand Down

0 comments on commit 44dc17c

Please sign in to comment.