| 1 | <?php |
||
| 8 | class SimpleBulkActionTest extends TestCase |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var SimpleBulkAction |
||
| 12 | */ |
||
| 13 | protected $object; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Sets up the fixture, for example, opens a network connection. |
||
| 17 | * This method is called before a test is executed. |
||
| 18 | */ |
||
| 19 | protected function setUp(): void |
||
| 23 | |||
| 24 | public function testGetters() |
||
| 32 | } |
||
| 33 |
It seems like the type of the argument is not accepted by the function/method which you are calling.
In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug.
We suggest to add an explicit type cast like in the following example: