File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class ParameterNode implements ResultNode
1616 /** @var string|null */
1717 public $ type ;
1818
19- /** @var array|mixed|ArrayItemNode|ArrayNode|AssignmentNode|BinaryOperationNode|FunctionCallNode|MethodCallNode|PropertyAccessNode|Scalar\NumberNode|Scalar\StringNode|StaticMethodCallNode|StaticPropertyAccessNode|VariableNode|Node\Arg|null */
19+ /** @var array|mixed|ArrayItemNode|ArrayNode|AssignmentNode|BinaryOperationNode|FunctionCallNode|MethodCallNode|PropertyAccessNode|Scalar\NumberNode|Scalar\StringNode|StaticMethodCallNode|StaticPropertyAccessNode|VariableNode|Node\Arg|null */
2020 public $ default ;
2121
2222 public function __construct (Node \Param $ node )
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public function parserNodesToResultNode(array $nodes)
2020 {
2121 $ result = [];
2222
23- foreach ($ nodes as $ node ) {
23+ foreach ($ nodes as $ node ) {
2424 $ result [] = $ this ->parserNodeToResultNode ($ node );
2525 }
2626
Original file line number Diff line number Diff line change 11<?php
22
33if (! function_exists ('optional ' )) {
4- function optional ($ value ) {
4+ function optional ($ value )
5+ {
56 if (! $ value ) {
67 return new class {
7- public function __get ($ name ) {
8+ public function __get ($ name )
9+ {
810 return null ;
911 }
12+
1013 public function __call ($ name , $ arguments )
1114 {
1215 return null ;
You can’t perform that action at this time.
0 commit comments