It seems like $utilEncodingService of type Spryker\Service\UtilEnco...ncodingServiceInterface is incompatible with the declared type Spryker\Client\Calculati...culationClientInterface of property $utilEncodingService.
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..
Loading history...
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)
This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
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..