Skip to content

Commit

Permalink
Added declare(strict_types=1); to controller-class-template.php.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
rotimi committed May 15, 2024
1 parent 8744e0c commit c1b139e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/templates/controller-class-template.php.tpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php
declare(strict_types=1);

namespace __NAMESPACE_2_REPLACE__;

use \Psr\Container\ContainerInterface;
Expand Down
2 changes: 2 additions & 0 deletions tests/test-template-output/ExpectedFooBar.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?php
declare(strict_types=1);

namespace Test\Space;

use \Psr\Container\ContainerInterface;
Expand Down

0 comments on commit c1b139e

Please sign in to comment.