Skip to content

Commit

Permalink
Merge pull request #63 from mikatrash/patch-1
Browse files Browse the repository at this point in the history
Type hint VersionExtension::getGlobals() to match GlobalsInterface signature.
  • Loading branch information
dontub authored Nov 21, 2019
2 parents 757022a + 54c65fd commit 368c574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Twig/VersionExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(VersionManager $manager)
/**
* @return array
*/
public function getGlobals()
public function getGlobals(): array
{
return [
'shivas_app_version' => (string) $this->manager->getVersion(),
Expand Down

0 comments on commit 368c574

Please sign in to comment.