Mocking an Throwable interface produces an error
jubianchi opened this issue · 1 comments
jubianchi commented
Given we have:
<?php
interface MyThrowable extends Throwable {
//...
}
If we try to mock this interface, it results in an error:
Class MyThrowable cannot implement interface Throwable, extend Exception or Error instead