Browse Source

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 năm trước cách đây
mục cha
commit
a85f3c8e70

+ 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) {