| 1 | <?php |
||
| 17 | class JsonLdPropertyFormatterTest extends JsonLdFormatterTestBase { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @see JsonLdFormatterTestBase::validProvider |
||
| 21 | */ |
||
| 22 | public function validProvider() { |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @see JsonLdFormatterTestBase::getInstance |
||
| 41 | */ |
||
| 42 | protected function getInstance(FormatterOptions $options = null) { |
||
| 48 | } |
||
| 49 |
It seems like you allow that null is being passed for a parameter, however the function which is called does not seem to accept null.
We recommend to add an additional type check (or disallow null for the parameter):