mirror of
https://github.com/danog/psalm.git
synced 2024-12-04 02:27:59 +01:00
14 lines
168 B
Markdown
14 lines
168 B
Markdown
# UndefinedInterfaceMethod
|
||
|
||
Emitted when calling a method that doesn’t exist on an interface
|
||
|
||
```php
|
||
<?php
|
||
|
||
interface I {}
|
||
|
||
function foo(I $i) {
|
||
$i->bar();
|
||
}
|
||
```
|