# DuplicateMethod Emitted when a method is defined twice ```php class A { public function foo() {} public function foo() {} } ```