Changed return types

This commit is contained in:
Netkas 2023-02-16 15:27:57 -05:00
parent 0fe5f5735a
commit 69c025af05
99 changed files with 206 additions and 202 deletions

View file

@ -23,9 +23,9 @@
* Returns object from array
*
* @param array $data
* @return ObjectTypeInterface
* @return ForumTopicClosed
*/
public static function fromArray(array $data): ObjectTypeInterface
public static function fromArray(array $data): self
{
return new self();
}