Completed
Push — master ( 0cb788...5f9089 )
by Matthew
03:43
created
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/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.
src/QueryObjects/QueryObject.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      * in the array and added to.
50 50
      * e.g. $queryObject->addSelect('COUNT(ResultID) AS COUNT');
51 51
      *
52
-     * @param string $string
52
+     * @param string $array
53 53
      */
54 54
     public function addSelect($array)
55 55
     {
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     /**
172 172
      * Allows setting of workaround flags
173 173
      *
174
-     * @param array|string $flags
174
+     * @param string $flags
175 175
      */
176 176
     public function setFlags($flags)
177 177
     {
Please login to merge, or discard this patch.