Completed
Push — staging ( bf091b...e1a76e )
by Matthew
02:20
created
tests/Endpoints/AlertControllerTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,6 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
src/Repository/AbstractEndpointRepository.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Controller/Endpoint/AlertEndpointController.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.