Completed
Push — staging ( c4f30a...bf091b )
by Matthew
02:28
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   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,11 +26,11 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.