| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class ComputopToUtilEncodingServiceBridge implements ComputopToUtilEncodingServiceInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var \Spryker\Client\Calculation\CalculationClientInterface |
||
| 14 | */ |
||
| 15 | protected $utilEncodingService; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param \Spryker\Service\UtilEncoding\UtilEncodingServiceInterface $utilEncodingService |
||
| 19 | */ |
||
| 20 | public function __construct($utilEncodingService) |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param array $value |
||
| 27 | * @param int|null $options |
||
| 28 | * @param int|null $depth |
||
| 29 | * |
||
| 30 | * @return string|null |
||
| 31 | */ |
||
| 32 | public function encodeJson($value, $options = null, $depth = null) |
||
| 37 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..