Sfoglia il codice sorgente

[HttpFoundation] fixed phpdoc

Fabien Potencier 15 anni fa
parent
commit
bfeb0e6746

+ 3 - 3
src/Symfony/Components/HttpFoundation/CacheControl.php

@@ -30,9 +30,9 @@ class CacheControl
     /**
      * Constructor.
      *
-     * @param Symfony\Components\HttpFoundation\HeaderBag $bag    A HeaderBag instance
-     * @param string                                  $header The value of the Cache-Control HTTP header
-     * @param string                                  $type   The type (null, request, or response)
+     * @param \Symfony\Components\HttpFoundation\HeaderBag $bag    A HeaderBag instance
+     * @param string                                       $header The value of the Cache-Control HTTP header
+     * @param string                                       $type   The type (null, request, or response)
      */
     public function __construct(HeaderBag $bag, $header, $type = null)
     {

+ 1 - 1
src/Symfony/Components/HttpFoundation/HeaderBag.php

@@ -147,7 +147,7 @@ class HeaderBag
     /**
      * Returns an instance able to manage the Cache-Control header.
      *
-     * @return Symfony\Components\HttpFoundation\Cache\CacheControl A CacheControl instance
+     * @return \Symfony\Components\HttpFoundation\CacheControl A CacheControl instance
      */
     public function getCacheControl()
     {