Upgrade framework

This commit is contained in:
2023-11-14 16:54:35 +01:00
parent 1648a5cd42
commit 4fcf6fffcc
10548 changed files with 693138 additions and 466698 deletions

View File

@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace PhpParser\Node;
@@ -11,26 +11,33 @@ interface FunctionLike extends Node
*
* @return bool
*/
public function returnsByRef();
public function returnsByRef() : bool;
/**
* List of parameters
*
* @return Node\Param[]
* @return Param[]
*/
public function getParams();
public function getParams() : array;
/**
* Get the declared return type or null
*
* @return null|string|Node\Name|Node\NullableType
*
* @return null|Identifier|Name|ComplexType
*/
public function getReturnType();
/**
* The function body
*
* @return Node\Stmt[]
* @return Stmt[]|null
*/
public function getStmts();
/**
* Get PHP attribute groups.
*
* @return AttributeGroup[]
*/
public function getAttrGroups() : array;
}