mirror of
https://github.com/danog/psalm.git
synced 2024-12-02 09:37:59 +01:00
Fix interface name ref
This commit is contained in:
parent
b3a59d2638
commit
0b74c6a6e7
@ -285,7 +285,7 @@ class ClassAnalyzer extends ClassLikeAnalyzer
|
|||||||
if (!$interface_storage->is_interface) {
|
if (!$interface_storage->is_interface) {
|
||||||
if (IssueBuffer::accepts(
|
if (IssueBuffer::accepts(
|
||||||
new UndefinedInterface(
|
new UndefinedInterface(
|
||||||
$parent_fq_class_name . ' is not an interface',
|
$fq_interface_name . ' is not an interface',
|
||||||
$code_location
|
$code_location
|
||||||
),
|
),
|
||||||
array_merge($storage->suppressed_issues, $this->getSuppressedIssues())
|
array_merge($storage->suppressed_issues, $this->getSuppressedIssues())
|
||||||
|
Loading…
Reference in New Issue
Block a user