Completed
Push — master ( 028b29...cb8c8c )
by Antonio Carlos
07:08
created
src/package/Data/Repository.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      * @param CacheContract $cache
64 64
      * @param Hydrator $hydrator
65 65
      * @param Helper $helper
66
-     * @param object $config
66
+     * @param \PragmaRX\Countries\Package\Services\Config $config
67 67
      */
68 68
     public function __construct(CacheContract $cache, Hydrator $hydrator, Helper $helper, $config)
69 69
     {
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
      * Load currency json file.
180 180
      *
181 181
      * @param $code
182
-     * @return string
182
+     * @return \PragmaRX\Coollection\Package\Coollection
183 183
      */
184 184
     public function loadCurrenciesForCountry($code)
185 185
     {
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
      * Find a country timezone.
312 312
      *
313 313
      * @param $countryCode
314
-     * @return null
314
+     * @return \PragmaRX\Coollection\Package\Coollection
315 315
      */
316 316
     public function findTimezones($countryCode)
317 317
     {
Please login to merge, or discard this patch.
src/update/Updater.php 2 patches
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 
93 93
     /**
94 94
      * Updater constructor.
95
-     * @param object $config
95
+     * @param ConfigService $config
96 96
      * @param Helper $helper
97 97
      */
98 98
     public function __construct($config, Helper $helper)
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     }
132 132
 
133 133
     /**
134
-     * @return mixed
134
+     * @return Command
135 135
      */
136 136
     public function getCommand()
137 137
     {
@@ -219,8 +219,8 @@  discard block
 block discarded – undo
219 219
     }
220 220
 
221 221
     /**
222
-     * @param $result
223
-     * @param $type
222
+     * @param Coollection $result
223
+     * @param string $type
224 224
      * @return \PragmaRX\Coollection\Package\Coollection
225 225
      */
226 226
     public function addRecordType($result, $type)
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
      * @param \PragmaRX\Coollection\Package\Coollection $on
260 260
      * @param \PragmaRX\Coollection\Package\Coollection $by
261 261
      * @param $fields
262
-     * @param $codeField
262
+     * @param string $codeField
263 263
      * @return array
264 264
      */
265 265
     public function findByFields($on, $by, $fields, $codeField)
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
     /**
342 342
      * @param $result
343 343
      * @param $dir
344
-     * @param $normalizerClosure
344
+     * @param Closure $normalizerClosure
345 345
      * @return array
346 346
      */
347 347
     public function normalizeData($result, $dir, $normalizerClosure)
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,12 +3,12 @@
 block discarded – undo
3 3
 namespace PragmaRX\Countries\Update;
4 4
 
5 5
 use Closure;
6
-use PragmaRX\Countries\Package\Support\Base;
7 6
 use PragmaRX\Coollection\Package\Coollection;
8
-use PragmaRX\Countries\Package\Services\Cache\Service as Cache;
9 7
 use PragmaRX\Countries\Package\Contracts\Config;
8
+use PragmaRX\Countries\Package\Services\Cache\Service as Cache;
10 9
 use PragmaRX\Countries\Package\Services\Command;
11 10
 use PragmaRX\Countries\Package\Services\Config as ConfigService;
11
+use PragmaRX\Countries\Package\Support\Base;
12 12
 
13 13
 /**
14 14
  * @codeCoverageIgnore
Please login to merge, or discard this patch.
src/package/Services/Cache/Service.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     /**
72 72
      * Check if cache is enabled.
73 73
      *
74
-     * @return bool
74
+     * @return \PragmaRX\Coollection\Package\Coollection
75 75
      */
76 76
     protected function enabled()
77 77
     {
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
      * Delete an item from the cache by its unique key.
133 133
      *
134 134
      * @param string $key
135
-     * @return bool
135
+     * @return boolean|null
136 136
      */
137 137
     public function delete($key)
138 138
     {
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
      * Get an item from the cache, or store the default value.
198 198
      *
199 199
      * @param  string $key
200
-     * @param  \DateTimeInterface|\DateInterval|float|int $minutes
200
+     * @param  integer $minutes
201 201
      * @param Closure $callback
202 202
      * @return mixed
203 203
      */
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
 namespace PragmaRX\Countries\Package\Services\Cache;
4 4
 
5 5
 use Closure;
6
+use PragmaRX\Countries\Package\Services\Cache\Managers\Nette as NetteManager;
6 7
 use PragmaRX\Countries\Package\Services\Config;
7 8
 use Psr\SimpleCache\CacheInterface;
8
-use PragmaRX\Countries\Package\Services\Cache\Managers\Nette as NetteManager;
9 9
 
10 10
 class Service implements CacheInterface
11 11
 {
Please login to merge, or discard this patch.
src/package/Services/Countries.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace PragmaRX\Countries\Package\Services;
4 4
 
5
-use PragmaRX\Countries\Update\Updater;
6
-use PragmaRX\Countries\Package\Support\Base;
7 5
 use PragmaRX\Coollection\Package\Coollection;
8 6
 use PragmaRX\Countries\Package\Data\Repository;
9 7
 use PragmaRX\Countries\Package\Services\Cache\Service as Cache;
8
+use PragmaRX\Countries\Package\Support\Base;
9
+use PragmaRX\Countries\Update\Updater;
10 10
 
11 11
 class Countries extends Base
12 12
 {
Please login to merge, or discard this patch.
src/update/Countries.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace PragmaRX\Countries\Update;
4 4
 
5
-use PragmaRX\Countries\Package\Support\Base;
5
+use PragmaRX\Countries\Package\Countries as CountriesService;
6 6
 use PragmaRX\Countries\Package\Services\Cache\Service as Cache;
7 7
 use PragmaRX\Countries\Package\Services\Config;
8
-use PragmaRX\Countries\Package\Countries as CountriesService;
8
+use PragmaRX\Countries\Package\Support\Base;
9 9
 
10 10
 class Countries extends Base
11 11
 {
Please login to merge, or discard this patch.
src/update/Timezones.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace PragmaRX\Countries\Update;
4 4
 
5
-use PragmaRX\Countries\Package\Support\Base;
6 5
 use PragmaRX\Coollection\Package\Coollection;
7 6
 use PragmaRX\Countries\Package\Services\Cache\Service as Cache;
8 7
 use PragmaRX\Countries\Package\Services\Config;
8
+use PragmaRX\Countries\Package\Support\Base;
9 9
 
10 10
 class Timezones extends Base
11 11
 {
Please login to merge, or discard this patch.