Changed return types
This commit is contained in:
parent
0fe5f5735a
commit
69c025af05
99 changed files with 206 additions and 202 deletions
|
@ -41,9 +41,9 @@
|
|||
* Constructs object from an array representation
|
||||
*
|
||||
* @param array $data
|
||||
* @return ObjectTypeInterface
|
||||
* @return BotCommandScopeDefault
|
||||
*/
|
||||
public static function fromArray(array $data): ObjectTypeInterface
|
||||
public static function fromArray(array $data): self
|
||||
{
|
||||
$object = new self();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue