fix code style for AccompanyingPeriodWorkEvaluation

This commit is contained in:
nobohan
2022-02-25 15:31:24 +01:00
parent 1826b20b40
commit 4bd50d0148
4 changed files with 35 additions and 36 deletions

View File

@@ -15,9 +15,11 @@ use Chill\DocStoreBundle\Entity\StoredObject;
use Chill\DocStoreBundle\Repository\StoredObjectRepository;
use Symfony\Component\Serializer\Normalizer\AbstractNormalizer;
use Symfony\Component\Serializer\Normalizer\DenormalizerInterface;
use function array_key_exists;
use function is_array;
class StoredObjectDenormalizer implements DenormalizerInterface {
class StoredObjectDenormalizer implements DenormalizerInterface
{
private StoredObjectRepository $storedObjectRepository;
public function __construct(StoredObjectRepository $storedObjectRepository)
@@ -44,8 +46,6 @@ class StoredObjectDenormalizer implements DenormalizerInterface {
return false;
}
return $type === StoredObject::class;
return StoredObject::class === $type;
}
}
}