From 44dc17c6b329728f4073c156f70ca5cd78b617ac Mon Sep 17 00:00:00 2001 From: Michele Date: Wed, 17 May 2017 12:19:18 +0200 Subject: [PATCH] Removed deprecated has() method from AbstractEloquentRepository --- .../Repos/AbstractEloquentRepository.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/MicheleAngioni/Support/Repos/AbstractEloquentRepository.php b/src/MicheleAngioni/Support/Repos/AbstractEloquentRepository.php index ba13c15..0a66540 100644 --- a/src/MicheleAngioni/Support/Repos/AbstractEloquentRepository.php +++ b/src/MicheleAngioni/Support/Repos/AbstractEloquentRepository.php @@ -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. *