Code Error
Author: russeljoCreated Jan 19, 2025Updated Mar 25, 2025
In code error - we implement interface and extend class. In code wrong.
interface Workable
{
public function work(): void;
}
interface Feedable
{
public function eat(): void;
}
interface Employee **extends** Feedable, Workable
{
}
class HumanEmployee **implements** Employee
{Source: piotrplenik/clean-code-php