![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/rector/rector/src/PhpParser/Node/CustomNode/ |
<?php declare (strict_types=1); namespace Rector\Core\PhpParser\Node\CustomNode; use PhpParser\Node\Stmt; use Rector\Core\Contract\PhpParser\Node\StmtsAwareInterface; /** * Inspired by https://github.com/phpstan/phpstan-src/commit/ed81c3ad0b9877e6122c79b4afda9d10f3994092 */ final class FileWithoutNamespace extends Stmt implements StmtsAwareInterface { /** * @var Stmt[] */ public $stmts; /** * @param Stmt[] $stmts */ public function __construct(array $stmts) { $this->stmts = $stmts; parent::__construct(); } public function getType() : string { return 'FileWithoutNamespace'; } /** * @return string[] */ public function getSubNodeNames() : array { return ['stmts']; } }