@@ -235,7 +235,7 @@ |
||
| 235 | 235 | /** |
| 236 | 236 | * @param array $methods methods to mock |
| 237 | 237 | * |
| 238 | - * @return StrategyInterface|\PHPUnit_Framework_MockObject_MockObject |
|
| 238 | + * @return \PHPUnit_Framework_MockObject_MockObject |
|
| 239 | 239 | */ |
| 240 | 240 | private function getStrategyMock(array $methods = array('apply')) |
| 241 | 241 | { |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | use Graviton\RestBundle\HttpFoundation\LinkHeaderItem; |
| 11 | 11 | use Graviton\RestBundle\Service\RestUtilsInterface; |
| 12 | 12 | use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface; |
| 13 | -use Symfony\Component\HttpFoundation\Request; |
|
| 14 | 13 | use Symfony\Component\HttpFoundation\Response; |
| 15 | 14 | use Symfony\Component\Routing\Router; |
| 16 | 15 | |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | private $router; |
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | - * @param router $router router |
|
| 28 | + * @param Router $router router |
|
| 29 | 29 | */ |
| 30 | 30 | public function __construct(Router $router) |
| 31 | 31 | { |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | * |
| 41 | 41 | * @param FilterResponseEvent $event response event |
| 42 | 42 | * |
| 43 | - * @return void |
|
| 43 | + * @return null|boolean |
|
| 44 | 44 | */ |
| 45 | 45 | public function onKernelResponse(FilterResponseEvent $event) |
| 46 | 46 | { |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | /** |
| 19 | 19 | * Return an array of supported classes. This will be called by supportsClass |
| 20 | 20 | * |
| 21 | - * @return array an array of supported classes, i.e. array('Acme\DemoBundle\Model\Product') |
|
| 21 | + * @return string[] an array of supported classes, i.e. array('Acme\DemoBundle\Model\Product') |
|
| 22 | 22 | */ |
| 23 | 23 | protected function getSupportedClasses() |
| 24 | 24 | { |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | /** |
| 32 | 32 | * Return an array of supported attributes. This will be called by supportsAttribute |
| 33 | 33 | * |
| 34 | - * @return array an array of supported attributes, i.e. array('CREATE', 'READ') |
|
| 34 | + * @return string[] an array of supported attributes, i.e. array('CREATE', 'READ') |
|
| 35 | 35 | */ |
| 36 | 36 | protected function getSupportedAttributes() |
| 37 | 37 | { |
@@ -713,7 +713,7 @@ |
||
| 713 | 713 | /** |
| 714 | 714 | * Security needs to be enabled to get Object. |
| 715 | 715 | * |
| 716 | - * @return SecurityUser |
|
| 716 | + * @return UserInterface |
|
| 717 | 717 | * @throws PreconditionRequiredHttpException |
| 718 | 718 | */ |
| 719 | 719 | public function getSecurityUser() |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | namespace Graviton\SecurityBundle\Authentication\Strategies; |
| 7 | 7 | |
| 8 | 8 | use Graviton\TestBundle\Test\WebTestCase; |
| 9 | -use Symfony\Component\HttpFoundation\RequestStack; |
|
| 10 | 9 | |
| 11 | 10 | /** |
| 12 | 11 | * Class HeaderFieldStrategyTest |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | namespace Graviton\SecurityBundle\Authentication\Strategies; |
| 7 | 7 | |
| 8 | 8 | use Graviton\TestBundle\Test\WebTestCase; |
| 9 | -use Symfony\Component\HttpFoundation\RequestStack; |
|
| 10 | 9 | |
| 11 | 10 | /** |
| 12 | 11 | * Class HeaderFieldStrategyTest |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | - * @return JsonResponse Response with result or error |
|
| 42 | + * @return Response|null Response with result or error |
|
| 43 | 43 | */ |
| 44 | 44 | public function swaggerAction() |
| 45 | 45 | { |
@@ -259,7 +259,7 @@ discard block |
||
| 259 | 259 | } |
| 260 | 260 | |
| 261 | 261 | /** |
| 262 | - * @param array $collection Field |
|
| 262 | + * @param string[] $collection Field |
|
| 263 | 263 | * @return $this |
| 264 | 264 | */ |
| 265 | 265 | public function setCollection(array $collection) |
@@ -287,7 +287,7 @@ discard block |
||
| 287 | 287 | } |
| 288 | 288 | |
| 289 | 289 | /** |
| 290 | - * @return mixed |
|
| 290 | + * @return boolean |
|
| 291 | 291 | */ |
| 292 | 292 | public function getSearchable() |
| 293 | 293 | { |