We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd13e87 commit da9959cCopy full SHA for da9959c
PSR2R/Sniffs/Commenting/FullyQualifiedClassNameInDocBlockSniff.php
@@ -297,7 +297,8 @@ protected function findInSameNameSpace(PHP_CodeSniffer_File $phpCsFile, $classNa
297
if (!$this->hasNamespace($phpCsFile)) {
298
return null;
299
}
300
- $currentNameSpace = $this->getNamespaceInfo($phpCsFile);
+ $currentNameSpaceInfo = $this->getNamespaceInfo($phpCsFile);
301
+ $currentNameSpace = $currentNameSpaceInfo['namespace'];
302
303
$file = $phpCsFile->getFilename();
304
$dir = dirname($file) . DIRECTORY_SEPARATOR;
0 commit comments