mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 19:13:49 +00:00
Fix phpstan issues
This commit is contained in:
@@ -113,7 +113,7 @@ class Generator implements GeneratorInterface
|
||||
throw new GeneratorException($e->getErrors(), $e);
|
||||
}
|
||||
|
||||
if ($isTest) {
|
||||
if (true === $isTest) {
|
||||
$this->logger->info(self::LOG_PREFIX.'Finished generation of a document', [
|
||||
'is_test' => true,
|
||||
'entity_id' => $entityId,
|
||||
@@ -122,7 +122,7 @@ class Generator implements GeneratorInterface
|
||||
return $generatedResource;
|
||||
}
|
||||
|
||||
/** @var StoredObject $storedObject */
|
||||
/** @var StoredObject $destinationStoredObject */
|
||||
$destinationStoredObject
|
||||
->setType($template->getFile()->getType())
|
||||
->setFilename(sprintf('%s_odt', uniqid('doc_', true)))
|
||||
|
Reference in New Issue
Block a user