From cd0c37eff25a81c06bab0ecf17f9823aae189d92 Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 13 Jan 2021 12:26:30 +0300 Subject: [PATCH] refactor(yaml): fix PHPDoc tag @return with type mixed is not subtype of native type array. --- src/flextype/Support/Serializers/Yaml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flextype/Support/Serializers/Yaml.php b/src/flextype/Support/Serializers/Yaml.php index 1f636c12..6280885f 100644 --- a/src/flextype/Support/Serializers/Yaml.php +++ b/src/flextype/Support/Serializers/Yaml.php @@ -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.