Navigation Menu

Skip to content

Commit

Permalink
Add specific cast
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Mar 6, 2020
1 parent 10b807b commit dc74f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Internal/Codebase/Methods.php
Expand Up @@ -126,7 +126,7 @@ public function methodExists(
return false;
}

if ($source && $fq_class_name !== strtolower($source->getFQCLN())) {
if ($source && $fq_class_name !== strtolower((string) $source->getFQCLN())) {
$this->file_reference_provider->addFileReferenceToClass(
$source->getFilePath(),
$fq_class_name
Expand Down

0 comments on commit dc74f2b

Please sign in to comment.