Back to Psalm

UnimplementedInterfaceMethod

docs/running_psalm/issues/UnimplementedInterfaceMethod.md

6.16.1213 B
Original Source

UnimplementedInterfaceMethod

Emitted when a class implements an interface but does not implement all of its methods

php
<?php

interface I {
    public function foo() : void;
}
class A implements I {}