1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 06:06:45 +02:00

refactor(yaml): fix PHPDoc tag @return with type mixed is not subtype of native type array.

This commit is contained in:
Awilum
2021-01-13 12:26:30 +03:00
parent 084959dab4
commit cd0c37eff2

View File

@@ -82,7 +82,7 @@ class Yaml
*
* @throws RuntimeException If the YAML is not valid
*/
public function decode(string $input, bool $cache = true, int $flags = 0): array
public function decode(string $input, bool $cache = true, int $flags = 0)
{
$decode = function (string $input, int $flags = 0) {
// Try native PECL YAML PHP extension first if available.