Skip to content

Commit da9959c

Browse files
author
dereuromark
committed
Fix small issue after refactoring.
1 parent bd13e87 commit da9959c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PSR2R/Sniffs/Commenting/FullyQualifiedClassNameInDocBlockSniff.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,8 @@ protected function findInSameNameSpace(PHP_CodeSniffer_File $phpCsFile, $classNa
297297
if (!$this->hasNamespace($phpCsFile)) {
298298
return null;
299299
}
300-
$currentNameSpace = $this->getNamespaceInfo($phpCsFile);
300+
$currentNameSpaceInfo = $this->getNamespaceInfo($phpCsFile);
301+
$currentNameSpace = $currentNameSpaceInfo['namespace'];
301302

302303
$file = $phpCsFile->getFilename();
303304
$dir = dirname($file) . DIRECTORY_SEPARATOR;

0 commit comments

Comments
 (0)