| 1 | <?php |
||
| 14 | class SuggestTest extends BaseTest |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Create self test. |
||
| 18 | * |
||
| 19 | * @group functional |
||
| 20 | */ |
||
| 21 | public function testCreateSelf(): void |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Create with suggest test. |
||
| 32 | * |
||
| 33 | * @group functional |
||
| 34 | */ |
||
| 35 | public function testCreateWithSuggest(): void |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Create with non suggest test. |
||
| 46 | * |
||
| 47 | * @group functional |
||
| 48 | */ |
||
| 49 | public function testCreateWithNonSuggest(): void |
||
| 57 | } |
||
| 58 |
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: