Completed
Push — master ( b1076e...dd8ca6 )
by Antonio Carlos
06:19
created
src/package/Services/Config.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
     /**
17 17
      * Config constructor.
18 18
      *
19
-     * @param array|null $config
19
+     * @param Helper $config
20 20
      */
21 21
     public function __construct($config = null)
22 22
     {
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     }
25 25
 
26 26
     /**
27
-     * @param $key
27
+     * @param string $key
28 28
      * @return \PragmaRX\Coollection\Package\Coollection
29 29
      */
30 30
     public function get($key)
Please login to merge, or discard this patch.
src/package/Services/Countries.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -235,7 +235,7 @@
 block discarded – undo
235 235
     }
236 236
 
237 237
     /**
238
-     * @param $repository
238
+     * @param null|Repository $repository
239 239
      * @return Repository
240 240
      */
241 241
     protected function instantiateRepository($repository)
Please login to merge, or discard this patch.
src/package/Services/Helper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     /**
65 65
      * Load json files from dir.
66 66
      *
67
-     * @param $dir
67
+     * @param string $dir
68 68
      * @return \PragmaRX\Coollection\Package\Coollection
69 69
      */
70 70
     public function loadJsonFiles($dir)
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
     }
106 106
 
107 107
     /**
108
-     * @param $contents
108
+     * @param string $contents
109 109
      * @return string
110 110
      */
111 111
     public function sanitizeFile($contents)
Please login to merge, or discard this patch.
src/update/Countries.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
     /**
84 84
      * Build countries collection.
85 85
      *
86
-     * @param $dataDir
86
+     * @param string $dataDir
87 87
      * @return \PragmaRX\Coollection\Package\Coollection
88 88
      */
89 89
     public function buildCountriesCoollection($dataDir)
Please login to merge, or discard this patch.
src/update/Rinvex.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
      *
158 158
      * @param Coollection $natural
159 159
      * @param Coollection $rinvex
160
-     * @param $translation
160
+     * @param null|Coollection $translation
161 161
      * @param string $suffix
162 162
      * @return mixed|\PragmaRX\Coollection\Package\Coollection
163 163
      */
Please login to merge, or discard this patch.
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/package/Services/Cache/Managers/Nette.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
     /**
50 50
      * Check if cache is enabled.
51 51
      *
52
-     * @return bool
52
+     * @return \PragmaRX\Coollection\Package\Coollection
53 53
      */
54 54
     protected function enabled()
55 55
     {
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      * Delete an item from the cache by its unique key.
136 136
      *
137 137
      * @param string $key
138
-     * @return bool
138
+     * @return boolean|null
139 139
      */
140 140
     public function delete($key)
141 141
     {
Please login to merge, or discard this patch.
src/package/Services/Hydrator.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * Hydrator constructor.
48 48
      *
49
-     * @param object $config
49
+     * @param Config $config
50 50
      */
51 51
     public function __construct($config)
52 52
     {
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * Can hydrate?
58 58
      *
59 59
      * @param $element
60
-     * @param $enabled
60
+     * @param boolean $enabled
61 61
      * @param $countryCode
62 62
      * @return bool
63 63
      */
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      *
94 94
      * @param $countries
95 95
      * @param $elements
96
-     * @return mixed
96
+     * @return \PragmaRX\Countries\Package\Support\Collection
97 97
      */
98 98
     private function hydrateCountries($countries, $elements = null)
99 99
     {
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      *
110 110
      * @param $country
111 111
      * @param $elements
112
-     * @return mixed
112
+     * @return \PragmaRX\Countries\Package\Support\Collection
113 113
      */
114 114
     private function hydrateCountry($country, $elements)
115 115
     {
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
      * Hydrate flag.
286 286
      *
287 287
      * @param $country
288
-     * @return mixed
288
+     * @return Coollection
289 289
      */
290 290
     public function hydrateFlag($country)
291 291
     {
@@ -396,7 +396,7 @@  discard block
 block discarded – undo
396 396
      * Get country by country code.
397 397
      *
398 398
      * @param $countryCode
399
-     * @return mixed
399
+     * @return \PragmaRX\Countries\Package\Support\Collection
400 400
      */
401 401
     public function getCountry($countryCode)
402 402
     {
@@ -455,7 +455,7 @@  discard block
 block discarded – undo
455 455
     /**
456 456
      * Repository setter.
457 457
      *
458
-     * @param $repository
458
+     * @param \PragmaRX\Countries\Package\Data\Repository $repository
459 459
      */
460 460
     public function setRepository($repository)
461 461
     {
Please login to merge, or discard this patch.
src/update/Updater.php 1 patch
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.