Browse Source

add missing declare type strict

Olivier Massot 3 years ago
parent
commit
35ee28dd16

+ 1 - 1
src/Service/Export/Encoder/PdfEncoder.php

@@ -1,8 +1,8 @@
 <?php
+declare(strict_types=1);
 
 namespace App\Service\Export\Encoder;
 
-use App\Entity\Core\File;
 use \Knp\Snappy\Pdf;
 
 /**

+ 1 - 0
src/Service/Export/Model/LicenceCmf.php

@@ -1,4 +1,5 @@
 <?php
+declare(strict_types=1);
 
 namespace App\Service\Export\Model;
 

+ 1 - 0
src/Service/Storage/FileStorage.php

@@ -1,4 +1,5 @@
 <?php
+declare(strict_types=1);
 
 namespace App\Service\Storage;
 

+ 1 - 0
src/Service/Storage/TemporaryFileStorage.php

@@ -1,4 +1,5 @@
 <?php
+declare(strict_types=1);
 
 namespace App\Service\Storage;
 

+ 1 - 0
src/Service/Utils/Path.php

@@ -1,4 +1,5 @@
 <?php
+declare(strict_types=1);
 
 namespace App\Service\Utils;