浏览代码

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;
     private $container;
 
 
+    /**
+     * @return ContainerInterface
+     */
     protected function getContainer()
     protected function getContainer()
     {
     {
         if (null === $this->container) {
         if (null === $this->container) {