Completed
Push — master ( ff6361...375f0f )
by Matthew
04:31
created
src/Controller/Endpoint/Alerts/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,
@@ -32,11 +32,11 @@  discard block
 block discarded – undo
32 32
     /**
33 33
      * Returns a single alert's information
34 34
      *
35
-     * @param  Symfony\Component\HttpFoundation\Request  $request
36
-     * @param  Symfony\Component\HttpFoundation\Response $response
35
+     * @param  Request  $request
36
+     * @param  Response $response
37 37
      * @param  array                                     $args
38 38
      *
39
-     * @return \League\Fractal\TransformerAbstract
39
+     * @return Response
40 40
      */
41 41
     public function getSingle(Request $request, Response $response, array $args)
42 42
     {
@@ -52,10 +52,10 @@  discard block
 block discarded – undo
52 52
     /**
53 53
      * Returns all currently running alerts
54 54
      *
55
-     * @param  Symfony\Component\HttpFoundation\Request  $request
56
-     * @param  Symfony\Component\HttpFoundation\Response $response
55
+     * @param  Request  $request
56
+     * @param  Response $response
57 57
      *
58
-     * @return \League\Fractal\TransformerAbstract
58
+     * @return Response
59 59
      */
60 60
     public function getActives(Request $request, Response $response)
61 61
     {
@@ -71,10 +71,10 @@  discard block
 block discarded – undo
71 71
     /**
72 72
      * Returns all alerts in historial order
73 73
      *
74
-     * @param  Symfony\Component\HttpFoundation\Request  $request
75
-     * @param  Symfony\Component\HttpFoundation\Response $response
74
+     * @param  Request  $request
75
+     * @param  Response $response
76 76
      *
77
-     * @return \League\Fractal\TransformerAbstract
77
+     * @return Response
78 78
      */
79 79
     public function getHistoryByDate(Request $request, Response $response)
80 80
     {
Please login to merge, or discard this patch.