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

@ -251,9 +251,9 @@
* Constructs object from an array representation.
*
* @param array $data
* @return ObjectTypeInterface
* @return Sticker
*/
public static function fromArray(array $data): ObjectTypeInterface
public static function fromArray(array $data): self
{
$object = new static();