Skip to content

Commit

Permalink
CS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jaapio committed Aug 22, 2019
1 parent 004d6fd commit e648416
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Types/ContextFactory.php
Expand Up @@ -131,11 +131,11 @@ private function createFromReflectionClass(ReflectionClass $class) : Context
/**
* Build a Context for a namespace in the provided file contents.
*
* @see Context for more information on Contexts.
*
* @param string $namespace It does not matter if a `\` precedes the namespace name,
* @param string $namespace It does not matter if a `\` precedes the namespace name,
* this method first normalizes.
* @param string $fileContents The file's contents to retrieve the aliases from with the given namespace.
* @see Context for more information on Contexts.
*
*/
public function createForNamespace(string $namespace, string $fileContents) : Context
{
Expand Down Expand Up @@ -260,7 +260,7 @@ private function extractUseStatements(ArrayIterator $tokens) : array
switch ($tokenId) {
case T_STRING:
case T_NS_SEPARATOR:
$currentNs .= $tokenValue;
$currentNs .= $tokenValue;
$currentAlias = $tokenValue;
break;
case T_CURLY_OPEN:
Expand Down Expand Up @@ -296,7 +296,7 @@ private function extractUseStatements(ArrayIterator $tokens) : array
switch ($tokenId) {
case T_STRING:
case T_NS_SEPARATOR:
$currentNs .= $tokenValue;
$currentNs .= $tokenValue;
$currentAlias = $tokenValue;
break;
case T_AS:
Expand Down

0 comments on commit e648416

Please sign in to comment.