Skip to content

Commit

Permalink
add return type hints to silence deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaicher committed Dec 1, 2021
1 parent aa38f51 commit 43a6137
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Twig/Extension/PhoneNumberHelperExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public function __construct(PhoneNumberHelper $helper)

/**
* {@inheritdoc}
*
* @return array
*/
public function getFunctions()
{
Expand All @@ -53,6 +55,8 @@ public function getFunctions()

/**
* {@inheritdoc}
*
* @return array
*/
public function getFilters()
{
Expand All @@ -64,6 +68,8 @@ public function getFilters()

/**
* {@inheritdoc}
*
* @return array
*/
public function getTests()
{
Expand Down

0 comments on commit 43a6137

Please sign in to comment.