@@ -61,16 +61,12 @@ class ReflectionConstant implements Reflection
61
61
/** @psalm-allow-private-mutation */
62
62
private CompiledValue |null $ compiledValue = null ;
63
63
64
- /**
65
- * @param non-empty-string|null $namespace
66
- */
64
+ /** @param non-empty-string|null $namespace */
67
65
private function __construct (
68
66
private Reflector $ reflector ,
69
67
Node \Stmt \Const_ |Node \Expr \FuncCall $ node ,
70
68
private LocatedSource $ locatedSource ,
71
- /**
72
- * @psalm-allow-private-mutation
73
- */
69
+ /** @psalm-allow-private-mutation */
74
70
private string |null $ namespace = null ,
75
71
int |null $ positionInNode = null ,
76
72
) {
@@ -113,8 +109,8 @@ public static function createFromName(string $constantName): self
113
109
*
114
110
* @internal
115
111
*
116
- * @param Node\Stmt\Const_|Node\Expr\FuncCall $node Node has to be processed by the PhpParser\NodeVisitor\NameResolver
117
- * @param non-empty-string|null $namespace
112
+ * @param Node\Stmt\Const_|Node\Expr\FuncCall $node Node has to be processed by the PhpParser\NodeVisitor\NameResolver
113
+ * @param non-empty-string|null $namespace
118
114
*/
119
115
public static function createFromNode (
120
116
Reflector $ reflector ,
@@ -132,9 +128,7 @@ public static function createFromNode(
132
128
return self ::createFromDefineFunctionCall ($ reflector , $ node , $ locatedSource );
133
129
}
134
130
135
- /**
136
- * @param non-empty-string|null $namespace
137
- */
131
+ /** @param non-empty-string|null $namespace */
138
132
private static function createFromConstKeyword (
139
133
Reflector $ reflector ,
140
134
Node \Stmt \Const_ $ node ,
0 commit comments