Skip to content

Commit

Permalink
Merge pull request #42 from stephanvierkant/returntypes
Browse files Browse the repository at this point in the history
Added @return annotation
  • Loading branch information
Seldaek authored Jan 25, 2022
2 parents d1478c5 + 1a3ab67 commit 655efee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
*
* @final
*/
class Configuration implements ConfigurationInterface
{
/**
* {@inheritDoc}
* @return TreeBuilder
*/
public function getConfigTreeBuilder()
{
Expand Down
6 changes: 6 additions & 0 deletions TwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use Twig\Extension\AbstractExtension;
use Twig\TwigFunction;

/**
* @final
*/
class TwigExtension extends AbstractExtension
{
private $router;
Expand All @@ -18,6 +21,9 @@ public function __construct(UrlGeneratorInterface $router, $stackTracePath = nul
$this->stackTracePath = $stackTracePath;
}

/**
* @return array
*/
public function getFunctions()
{
return array(
Expand Down

0 comments on commit 655efee

Please sign in to comment.