Completed
Push — master ( 79bbce...abd19f )
by Antonio Carlos
07:57 queued 05:51
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/Cache.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      * Delete an item from the cache by its unique key.
120 120
      *
121 121
      * @param string $key
122
-     * @return bool
122
+     * @return boolean|null
123 123
      */
124 124
     public function delete($key)
125 125
     {
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
      * Get an item from the cache, or store the default value.
208 208
      *
209 209
      * @param  string $key
210
-     * @param  \DateTimeInterface|\DateInterval|float|int $minutes
210
+     * @param  integer $minutes
211 211
      * @param Closure $callback
212 212
      * @return mixed
213 213
      */
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   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -156,8 +156,8 @@  discard block
 block discarded – undo
156 156
      * Merge country data with Rinvex data.
157 157
      *
158 158
      * @param Coollection $natural
159
-     * @param Coollection $rinvex
160
-     * @param $translation
159
+     * @param null|Coollection $rinvex
160
+     * @param null|Coollection $translation
161 161
      * @param string $suffix
162 162
      * @return mixed|\PragmaRX\Coollection\Package\Coollection
163 163
      */
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
     }
260 260
 
261 261
     /**
262
-     * @param \PragmaRX\Coollection\Package\Coollection $rinvex
262
+     * @param null|Coollection $rinvex
263 263
      * @param $cca3
264 264
      * @param $postal
265 265
      * @param $country
Please login to merge, or discard this patch.
src/package/Data/Repository.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,10 +59,10 @@
 block discarded – undo
59 59
     /**
60 60
      * Repository constructor.
61 61
      *
62
-     * @param CacheContract $cache
62
+     * @param Cache $cache
63 63
      * @param Hydrator $hydrator
64 64
      * @param Helper $helper
65
-     * @param object $config
65
+     * @param \PragmaRX\Countries\Package\Services\Config $config
66 66
      */
67 67
     public function __construct(CacheContract $cache, Hydrator $hydrator, Helper $helper, $config)
68 68
     {
Please login to merge, or discard this patch.
src/package/Services/Cache/Managers/Nette.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
      * Delete an item from the cache by its unique key.
135 135
      *
136 136
      * @param string $key
137
-     * @return bool
137
+     * @return boolean|null
138 138
      */
139 139
     public function delete($key)
140 140
     {
Please login to merge, or discard this patch.
src/package/Services/Hydrator.php 1 patch
Doc Comments   +6 added lines, -6 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
     {
@@ -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.