File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -131,11 +131,11 @@ private function createFromReflectionClass(ReflectionClass $class) : Context
131131 /**
132132 * Build a Context for a namespace in the provided file contents.
133133 *
134- * @param string $namespace It does not matter if a `\` precedes the namespace name,
135- * this method first normalizes.
136- * @param string $fileContents The file's contents to retrieve the aliases from with the given namespace.
137134 * @see Context for more information on Contexts.
138135 *
136+ * @param string $namespace It does not matter if a `\` precedes the namespace name,
137+ * this method first normalizes.
138+ * @param string $fileContents The file's contents to retrieve the aliases from with the given namespace.
139139 */
140140 public function createForNamespace (string $ namespace , string $ fileContents ) : Context
141141 {
@@ -260,8 +260,8 @@ private function extractUseStatements(ArrayIterator $tokens) : array
260260 switch ($ tokenId ) {
261261 case T_STRING :
262262 case T_NS_SEPARATOR :
263- $ currentNs .= $ tokenValue ;
264- $ currentAlias = $ tokenValue ;
263+ $ currentNs .= $ tokenValue ;
264+ $ currentAlias = $ tokenValue ;
265265 break ;
266266 case T_CURLY_OPEN :
267267 case '{ ' :
@@ -296,7 +296,7 @@ private function extractUseStatements(ArrayIterator $tokens) : array
296296 switch ($ tokenId ) {
297297 case T_STRING :
298298 case T_NS_SEPARATOR :
299- $ currentNs .= $ tokenValue ;
299+ $ currentNs .= $ tokenValue ;
300300 $ currentAlias = $ tokenValue ;
301301 break ;
302302 case T_AS :
You can’t perform that action at this time.
0 commit comments