Completed
Push — master ( 9027ab...d266eb )
by Matthew
03:01
created
src/Controller/EndpointBaseController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     /**
14 14
      * Returns a single entry
15 15
      *
16
-     * @param  Symfony\Component\HttpFoundation\Request $request
16
+     * @param  Request $request
17 17
      * @param  array   $args
18 18
      *
19 19
      * @return \League\Route\Http\JsonResponse
Please login to merge, or discard this patch.
src/Controller/Metrics/VehicleMetricsEndpoint.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     /**
14 14
      * Returns a single entry
15 15
      *
16
-     * @param  Symfony\Component\HttpFoundation\Request $request
16
+     * @param  Request $request
17 17
      * @param  array   $args
18 18
      *
19 19
      * @return \League\Route\Http\JsonResponse
Please login to merge, or discard this patch.
src/Controller/Metrics/WeaponMetricsEndpoint.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     /**
14 14
      * Returns a single entry
15 15
      *
16
-     * @param  Symfony\Component\HttpFoundation\Request $request
16
+     * @param  Request $request
17 17
      * @param  array   $args
18 18
      *
19 19
      * @return \League\Route\Http\JsonResponse
Please login to merge, or discard this patch.
src/Controller/Metrics/ClassMetricsEndpoint.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     /**
14 14
      * Returns a single entry
15 15
      *
16
-     * @param  Symfony\Component\HttpFoundation\Request $request
16
+     * @param  Request $request
17 17
      * @param  array   $args
18 18
      *
19 19
      * @return \League\Route\Http\JsonResponse
Please login to merge, or discard this patch.
src/Controller/Statistics/OutfitTotalsStatisticsEndpoint.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     /**
13 13
      * Construct
14 14
      *
15
-     * @param \Ps2alerts\Api\Loader\Metrics\OutfitTotalsStatisticsLoader $loader
15
+     * @param OutfitTotalsStatisticsLoader $loader
16 16
      */
17 17
     public function __construct(OutfitTotalsStatisticsLoader $loader)
18 18
     {
@@ -23,7 +23,6 @@  discard block
 block discarded – undo
23 23
      * Returns top X entries
24 24
      *
25 25
      * @param  \Symfony\Component\HttpFoundation\Request $request
26
-     * @param  array                                     $args
27 26
      *
28 27
      * @return \League\Route\Http\JsonResponse
29 28
      */
Please login to merge, or discard this patch.
src/Controller/Statistics/PlayerStatisticsEndpoint.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     /**
13 13
      * Construct
14 14
      *
15
-     * @param \Ps2alerts\Api\Loader\Metrics\PlayerStatisticsLoader $loader
15
+     * @param PlayerStatisticsLoader $loader
16 16
      */
17 17
     public function __construct(PlayerStatisticsLoader $loader)
18 18
     {
Please login to merge, or discard this patch.
src/Loader/AbstractLoader.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -77,7 +77,6 @@  discard block
 block discarded – undo
77 77
     /**
78 78
      * Gets the Cache namespace key for Redis
79 79
      *
80
-     * @param string $string
81 80
      */
82 81
     public function getCacheNamespace()
83 82
     {
@@ -128,7 +127,7 @@  discard block
 block discarded – undo
128 127
      * Checks for a key within Redis and returns it's existance
129 128
      *
130 129
      * @param  string  $key
131
-     * @return boolean
130
+     * @return false|null
132 131
      */
133 132
     public function checkRedis($key)
134 133
     {
@@ -155,7 +154,7 @@  discard block
 block discarded – undo
155 154
      * Sets JSON encoded value within Redis with an expiry in seconds
156 155
      *
157 156
      * @param string  $key
158
-     * @param mixed   $value   Data to encode into JSON and store
157
+     * @param string   $value   Data to encode into JSON and store
159 158
      * @param integer $expires Cache expiry time in seconds
160 159
      */
161 160
     public function setExpireKey($key, $value, $expires)
Please login to merge, or discard this patch.
src/Loader/Statistics/OutfitTotalsStatisticsLoader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     /**
17 17
      * Construct
18 18
      *
19
-     * @param \Ps2alerts\Api\Repository\Metrics\OutfitTotalsRepository $repository
19
+     * @param OutfitTotalsRepository $repository
20 20
      */
21 21
     public function __construct(OutfitTotalsRepository $repository)
22 22
     {
Please login to merge, or discard this patch.
src/Loader/Statistics/PlayerStatisticsLoader.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -91,6 +91,9 @@
 block discarded – undo
91 91
         );
92 92
     }
93 93
 
94
+    /**
95
+     * @param string $field
96
+     */
94 97
     public function validatePostVars($field, $value)
95 98
     {
96 99
         if ($field === 'metric' && ! empty($value)) {
Please login to merge, or discard this patch.