This commit is contained in:
TiclemFR
2024-01-20 23:14:52 +01:00
parent a068f54957
commit 031f7071e6
881 changed files with 241469 additions and 247870 deletions

View File

@@ -4,21 +4,18 @@ namespace PhpParser\Node;
use PhpParser\Node;
interface FunctionLike extends Node
{
interface FunctionLike extends Node {
/**
* Whether to return by reference
*
* @return bool
*/
public function returnsByRef() : bool;
public function returnsByRef(): bool;
/**
* List of parameters
*
* @return Param[]
*/
public function getParams() : array;
public function getParams(): array;
/**
* Get the declared return type or null
@@ -32,12 +29,12 @@ interface FunctionLike extends Node
*
* @return Stmt[]|null
*/
public function getStmts();
public function getStmts(): ?array;
/**
* Get PHP attribute groups.
*
* @return AttributeGroup[]
*/
public function getAttrGroups() : array;
public function getAttrGroups(): array;
}