@@ -1,8 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | use GuzzleHttp\Client; |
| 4 | -use GuzzleHttp\Psr7\Request; |
|
| 5 | -use GuzzleHttp\Psr7\Response; |
|
| 6 | 4 | |
| 7 | 5 | class AlertControllerTest extends \PHPUnit_Framework_TestCase |
| 8 | 6 | { |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | $key = $this->returnKeyType($keyType); |
| 82 | 82 | |
| 83 | 83 | $query->cols(['*']) |
| 84 | - ->where("{$key} = {$id}"); |
|
| 84 | + ->where("{$key} = {$id}"); |
|
| 85 | 85 | |
| 86 | 86 | return $this->fireStatementAndReturn($query, true); |
| 87 | 87 | } |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | $key = $this->returnKeyType($keyType); |
| 100 | 100 | |
| 101 | 101 | $query->cols(['*']) |
| 102 | - ->where("{$key} = {$id}"); |
|
| 102 | + ->where("{$key} = {$id}"); |
|
| 103 | 103 | |
| 104 | 104 | return $this->fireStatementAndReturn($query); |
| 105 | 105 | } |
@@ -14,9 +14,9 @@ discard block |
||
| 14 | 14 | /** |
| 15 | 15 | * Construct |
| 16 | 16 | * |
| 17 | - * @param Ps2alerts\Api\Repository\AlertRepository $repository |
|
| 18 | - * @param Ps2alerts\Api\Transformer\AlertTransformer $transformer |
|
| 19 | - * @param League\Fractal\Manager $fractal |
|
| 17 | + * @param AlertRepository $repository |
|
| 18 | + * @param AlertTransformer $transformer |
|
| 19 | + * @param Manager $fractal |
|
| 20 | 20 | */ |
| 21 | 21 | public function __construct( |
| 22 | 22 | AlertRepository $repository, |
@@ -33,11 +33,11 @@ discard block |
||
| 33 | 33 | * |
| 34 | 34 | * @see AbstractEndpointController::respondWithItem |
| 35 | 35 | * |
| 36 | - * @param Symfony\Component\HttpFoundation\Request $request |
|
| 37 | - * @param Symfony\Component\HttpFoundation\Response $response |
|
| 36 | + * @param Request $request |
|
| 37 | + * @param Response $response |
|
| 38 | 38 | * @param array |
| 39 | 39 | * |
| 40 | - * @return array |
|
| 40 | + * @return Response |
|
| 41 | 41 | */ |
| 42 | 42 | public function getSingle(Request $request, Response $response, array $args) |
| 43 | 43 | { |