Skip to content

Commit 2dd5a9c

Browse files
committed
add strict
1 parent a48af31 commit 2dd5a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Drivers/PhpDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function saveTranslations(string $locale, Translations $translations): Tr
126126
*/
127127
public function toFile(array $values): string
128128
{
129-
$content = "<?php\n\nreturn [";
129+
$content = "<?php\n\ndeclare(strict_types=1);\n\nreturn [";
130130

131131
$content .= $this->recursiveToFile($values);
132132

0 commit comments

Comments
 (0)