@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | /** |
96 | 96 | * Determine if the payload contains a non-empty value for a given key. |
97 | 97 | * |
98 | - * @param string|array $keys |
|
98 | + * @param string|null $keys |
|
99 | 99 | * |
100 | 100 | * @return bool |
101 | 101 | */ |
@@ -356,7 +356,7 @@ discard block |
||
356 | 356 | /** |
357 | 357 | * Return a value from the array identified from the key. |
358 | 358 | * |
359 | - * @param $key |
|
359 | + * @param string|null $key |
|
360 | 360 | * @param $data |
361 | 361 | * @return mixed |
362 | 362 | */ |
@@ -5,11 +5,11 @@ |
||
5 | 5 | use Nathanmac\Utilities\Parser\Formats\BSON; |
6 | 6 | use Nathanmac\Utilities\Parser\Formats\FormatInterface; |
7 | 7 | use Nathanmac\Utilities\Parser\Formats\JSON; |
8 | +use Nathanmac\Utilities\Parser\Formats\MSGPack; |
|
8 | 9 | use Nathanmac\Utilities\Parser\Formats\QueryStr; |
9 | 10 | use Nathanmac\Utilities\Parser\Formats\Serialize; |
10 | 11 | use Nathanmac\Utilities\Parser\Formats\XML; |
11 | 12 | use Nathanmac\Utilities\Parser\Formats\YAML; |
12 | -use Nathanmac\Utilities\Parser\Formats\MSGPack; |
|
13 | 13 | |
14 | 14 | /** |
15 | 15 | * Parser Library, designed to parse payload data from various formats to php array. |
@@ -35,7 +35,7 @@ |
||
35 | 35 | /** |
36 | 36 | * Get the services provided by the provider. |
37 | 37 | * |
38 | - * @return array |
|
38 | + * @return string[] |
|
39 | 39 | */ |
40 | 40 | public function provides() |
41 | 41 | { |