We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0da2d66 commit 53a71adCopy full SHA for 53a71ad
lib/PhpParser/Node/Stmt/Namespace_.php
@@ -18,10 +18,10 @@ class Namespace_ extends Node\Stmt {
18
* Constructs a namespace node.
19
*
20
* @param null|Node\Name $name Name
21
- * @param null|Node\Stmt[] $stmts Statements
+ * @param Node\Stmt[] $stmts Statements
22
* @param array<string, mixed> $attributes Additional attributes
23
*/
24
- public function __construct(?Node\Name $name = null, ?array $stmts = [], array $attributes = []) {
+ public function __construct(?Node\Name $name = null, array $stmts = [], array $attributes = []) {
25
$this->attributes = $attributes;
26
$this->name = $name;
27
$this->stmts = $stmts;
0 commit comments