File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -131,11 +131,11 @@ private function createFromReflectionClass(ReflectionClass $class) : Context
131
131
/**
132
132
* Build a Context for a namespace in the provided file contents.
133
133
*
134
- * @see Context for more information on Contexts.
135
- *
136
- * @param string $namespace It does not matter if a `\` precedes the namespace name,
134
+ * @param string $namespace It does not matter if a `\` precedes the namespace name,
137
135
* this method first normalizes.
138
136
* @param string $fileContents The file's contents to retrieve the aliases from with the given namespace.
137
+ * @see Context for more information on Contexts.
138
+ *
139
139
*/
140
140
public function createForNamespace (string $ namespace , string $ fileContents ) : Context
141
141
{
@@ -260,7 +260,7 @@ private function extractUseStatements(ArrayIterator $tokens) : array
260
260
switch ($ tokenId ) {
261
261
case T_STRING :
262
262
case T_NS_SEPARATOR :
263
- $ currentNs .= $ tokenValue ;
263
+ $ currentNs .= $ tokenValue ;
264
264
$ currentAlias = $ tokenValue ;
265
265
break ;
266
266
case T_CURLY_OPEN :
@@ -296,7 +296,7 @@ private function extractUseStatements(ArrayIterator $tokens) : array
296
296
switch ($ tokenId ) {
297
297
case T_STRING :
298
298
case T_NS_SEPARATOR :
299
- $ currentNs .= $ tokenValue ;
299
+ $ currentNs .= $ tokenValue ;
300
300
$ currentAlias = $ tokenValue ;
301
301
break ;
302
302
case T_AS :
You can’t perform that action at this time.
0 commit comments