Skip to content

Commit

Permalink
add strict
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinGab committed Feb 4, 2025
1 parent a48af31 commit 2dd5a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drivers/PhpDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function saveTranslations(string $locale, Translations $translations): Tr
*/
public function toFile(array $values): string
{
$content = "<?php\n\nreturn [";
$content = "<?php\n\ndeclare(strict_types=1);\n\nreturn [";

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

Expand Down

0 comments on commit 2dd5a9c

Please sign in to comment.