fixed missing return value JsonSerializable::jsonSerialize

This commit is contained in:
Ivan Fedorov 2021-07-21 12:18:04 +02:00 committed by Ivan Fedorov
parent 1ef37aa1d1
commit df0ad91825
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
<?php
// Start of json v.1.3.1
use JetBrains\PhpStorm\Internal\LanguageLevelTypeAware;
use JetBrains\PhpStorm\Pure;
/**
@ -19,6 +20,7 @@ interface JsonSerializable
* which is a value of any type other than a resource.
* @since 5.4
*/
#[LanguageLevelTypeAware(['8.1' => 'mixed'], default: '')]
public function jsonSerialize();
}