Completed
Push — master ( f2ed00...07b62e )
by Antonio Carlos
05:36
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/package/Services/Cache.php 1 patch
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.
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/Helper.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     /**
15 15
      * Rinvex constructor.
16 16
      *
17
-     * @param object $config
17
+     * @param Config $config
18 18
      */
19 19
     public function __construct($config)
20 20
     {
@@ -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/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.