Completed
Push — staging ( 0db769...78db94 )
by Matthew
02:20
created
src/Controller/Endpoint/AlertEndpointController.php 1 patch
Doc Comments   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -15,9 +15,9 @@  discard block
 block discarded – undo
15 15
     /**
16 16
      * Construct
17 17
      *
18
-     * @param Ps2alerts\Api\Repository\AlertRepository   $repository
19
-     * @param Ps2alerts\Api\Transformer\AlertTransformer $transformer
20
-     * @param League\Fractal\Manager                     $fractal
18
+     * @param AlertRepository   $repository
19
+     * @param AlertTransformer $transformer
20
+     * @param Manager                     $fractal
21 21
      */
22 22
     public function __construct(
23 23
         AlertRepository  $repository,
@@ -34,11 +34,11 @@  discard block
 block discarded – undo
34 34
      *
35 35
      * @see AbstractEndpointController::respondWithItem
36 36
      *
37
-     * @param  Symfony\Component\HttpFoundation\Request  $request
38
-     * @param  Symfony\Component\HttpFoundation\Response $response
37
+     * @param  Request  $request
38
+     * @param  Response $response
39 39
      * @param  array                                     $args
40 40
      *
41
-     * @return array
41
+     * @return Response
42 42
      */
43 43
     public function getSingle(Request $request, Response $response, array $args)
44 44
     {
@@ -65,10 +65,10 @@  discard block
 block discarded – undo
65 65
     /**
66 66
      * Returns the victories of each faction and the totals
67 67
      *
68
-     * @param  Symfony\Component\HttpFoundation\Request  $request
69
-     * @param  Symfony\Component\HttpFoundation\Response $response
68
+     * @param  Request  $request
69
+     * @param  Response $response
70 70
      *
71
-     * @return array
71
+     * @return Response
72 72
      */
73 73
     public function getVictories(Request $request, Response $response)
74 74
     {
@@ -90,10 +90,10 @@  discard block
 block discarded – undo
90 90
     /**
91 91
      * Returns the dominations of each faction and the totals
92 92
      *
93
-     * @param  Symfony\Component\HttpFoundation\Request  $request
94
-     * @param  Symfony\Component\HttpFoundation\Response $response
93
+     * @param  Request  $request
94
+     * @param  Response $response
95 95
      *
96
-     * @return array
96
+     * @return Response
97 97
      */
98 98
     public function getDominations(Request $request, Response $response)
99 99
     {
Please login to merge, or discard this patch.