1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 03:50:04 +02:00

Add PHPUnit

This commit is contained in:
Daniel Neto 2025-04-02 10:53:30 -03:00
parent 1467777757
commit 5959dd49d7
1366 changed files with 118633 additions and 13161 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;
}