@@ -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 | } |
@@ -26,11 +26,11 @@ |
||
26 | 26 | * |
27 | 27 | * @see AbstractEndpointController::respondWithItem |
28 | 28 | * |
29 | - * @param Symfony\Component\HttpFoundation\Request $request |
|
30 | - * @param Symfony\Component\HttpFoundation\Response $response |
|
29 | + * @param Request $request |
|
30 | + * @param Response $response |
|
31 | 31 | * @param array |
32 | 32 | * |
33 | - * @return array |
|
33 | + * @return Response |
|
34 | 34 | */ |
35 | 35 | public function getSingle(Request $request, Response $response, array $args) |
36 | 36 | { |