This line, fail if $value is null
protected function hasMarker(string $value) : bool
Argument 1 passed to Shapecode\NYADoctrineEncryptBundle\Encryption\EntityEncryption::
hasMarker() must be of the type string, null given, called in /vendor/shapecode/nya-doctrine-encrypt-bundle/src/Encryption/EntityEncryption.php on line 93
Solution are:
- check value before passing to that function
- change signature of method in
protected function hasMarker(?string $value) : bool
This line, fail if
$valueis nullprotected function hasMarker(string $value) : boolSolution are:
protected function hasMarker(?string $value) : bool