Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
35 | public function decodeJson(string $jsonValue, bool $assoc = false, ?int $depth = null, ?int $options = null) |
||
36 | { |
||
37 | if ($assoc === false) { |
||
38 | trigger_error('Param #2 `$assoc` must be `true` as return of type `object` is not accepted.', E_USER_DEPRECATED); |
||
39 | } |
||
40 | |||
41 | /** @phpstan-var array<mixed>|null */ |
||
42 | return $this->utilEncodingService->decodeJson($jsonValue, $assoc, $depth, $options); |
||
43 | } |
||
45 |