Skip to content

Commit

Permalink
Fixes Twig error on extension class and update gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
yourjhay committed Jun 24, 2023
1 parent 19385ee commit c83d84e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ Logs/
vendor/
Simply/
.idea/
node_modules/
node_modules/
composer.lock
2 changes: 1 addition & 1 deletion app/Helper/Twig/GlobalExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class GlobalExtension extends AbstractExtension implements GlobalsInterface
{
public function getGlobals()
public function getGlobals(): array
{
return [
'text' => 'sample text',
Expand Down

0 comments on commit c83d84e

Please sign in to comment.