mirror of
https://github.com/danog/psalm.git
synced 2024-12-05 13:10:49 +01:00
ea52b9d23a
While I was searching for some code, ran across these.
14 lines
167 B
Markdown
14 lines
167 B
Markdown
# UndefinedInterfaceMethod
|
|
|
|
Emitted when calling a method that does not exist on an interface
|
|
|
|
```php
|
|
<?php
|
|
|
|
interface I {}
|
|
|
|
function foo(I $i) {
|
|
$i->bar();
|
|
}
|
|
```
|