When mocking methods in interfaces returning self, explicitly use the interface name as the return type
When mocking methods in interfaces returning self, explicitly use the interface name as the return type

sebastianbergmann/phpunit,Firehed/phpunit