Преглед изворни кода

merged branch pulse00/2.0 (PR #2832)

Commits
-------

40e5b60 [FrameworkBundle] added return type for getContainer()

Discussion
----------

added return type for getContainer()

IDE type inference support
Fabien Potencier пре 13 година
родитељ
комит
a85f3c8e70
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      src/Symfony/Bundle/FrameworkBundle/Command/ContainerAwareCommand.php

+ 3 - 0
src/Symfony/Bundle/FrameworkBundle/Command/ContainerAwareCommand.php

@@ -28,6 +28,9 @@ abstract class ContainerAwareCommand extends Command implements ContainerAwareIn
      */
     private $container;
 
+    /**
+     * @return ContainerInterface
+     */
     protected function getContainer()
     {
         if (null === $this->container) {