File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 396396 return new Node \Stmt \Attribute \AttributeGroupsListNode ($ children );
397397 },
398398 60 => static function (\Phplrt \Parser \Context $ ctx , $ children ) {
399- return new Node \Stmt \Callable \ParametersListNode ($ children );
399+ return new Node \Stmt \Callable \CallableParametersListNode ($ children );
400400 },
401401 66 => function (\Phplrt \Parser \Context $ ctx , $ children ) {
402402 // The "$offset" variable is an auto-generated
410410
411411 $ parameters = isset ($ children [0 ]) && $ children [0 ] instanceof Node \Stmt \Callable \ParametersListNode
412412 ? \array_shift ($ children )
413- : new Node \Stmt \Callable \ParametersListNode ();
413+ : new Node \Stmt \Callable \CallableParametersListNode ();
414414
415415 return new Node \Stmt \CallableTypeNode (
416416 name: $ name ,
472472 return $ children [1 ];
473473 },
474474 80 => static function (\Phplrt \Parser \Context $ ctx , $ children ) {
475- $ argument = new Node \Stmt \Callable \ParameterNode ($ children [0 ]);
475+ $ argument = new Node \Stmt \Callable \CallableParameterNode ($ children [0 ]);
476476
477477 if (\count ($ children ) !== 1 ) {
478478 $ argument ->output = true ;
You can’t perform that action at this time.
0 commit comments