From 8fcf93c48941b58f78d4830d1f01bca251c9f650 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Sun, 5 Apr 2015 21:13:53 +0100 Subject: [PATCH] Removed unused method --- src/AbstractServer.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/AbstractServer.php b/src/AbstractServer.php index 6f694c69..fe196167 100644 --- a/src/AbstractServer.php +++ b/src/AbstractServer.php @@ -99,18 +99,4 @@ abstract class AbstractServer implements ContainerAwareInterface, EmitterAwareIn break; } } - - /** - * Get a hydrated grant - * - * @param string $grant - * @param \DateInterval $tokenTTL - * - * @return \League\OAuth2\Server\Repositories\RepositoryInterface - * @deprecated - */ - public function getGrant($grant, \DateInterval $tokenTTL) - { - return $this->getContainer()->get($grant, [$this->responseType, $tokenTTL]); - } }