Browse Source

Merge pull request #11130 from cakephp/docblock

Update docblocks.
Mark Story 8 years ago
parent
commit
6cf654402d
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/View/View.php

+ 4 - 4
src/View/View.php

@@ -174,14 +174,14 @@ class View implements EventDispatcherInterface
      * Sub-directory for this template file. This is often used for extension based routing.
      * Sub-directory for this template file. This is often used for extension based routing.
      * Eg. With an `xml` extension, $subDir would be `xml/`
      * Eg. With an `xml` extension, $subDir would be `xml/`
      *
      *
-     * @var string
+     * @var string|null
      */
      */
     public $subDir;
     public $subDir;
 
 
     /**
     /**
      * The view theme to use.
      * The view theme to use.
      *
      *
-     * @var string
+     * @var string|null
      */
      */
     public $theme;
     public $theme;
 
 
@@ -497,7 +497,7 @@ class View implements EventDispatcherInterface
     /**
     /**
      * Get the current view theme.
      * Get the current view theme.
      *
      *
-     * @return string
+     * @return string|null
      */
      */
     public function getTheme()
     public function getTheme()
     {
     {
@@ -507,7 +507,7 @@ class View implements EventDispatcherInterface
     /**
     /**
      * Set the view theme to use.
      * Set the view theme to use.
      *
      *
-     * @param string $theme Theme name.
+     * @param string|null $theme Theme name.
      * @return void
      * @return void
      */
      */
     public function setTheme($theme)
     public function setTheme($theme)