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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user