ソースを参照

Merge pull request #11130 from cakephp/docblock

Update docblocks.
Mark Story 8 年 前
コミット
6cf654402d
1 ファイル変更4 行追加4 行削除
  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.
      * Eg. With an `xml` extension, $subDir would be `xml/`
      *
-     * @var string
+     * @var string|null
      */
     public $subDir;
 
     /**
      * The view theme to use.
      *
-     * @var string
+     * @var string|null
      */
     public $theme;
 
@@ -497,7 +497,7 @@ class View implements EventDispatcherInterface
     /**
      * Get the current view theme.
      *
-     * @return string
+     * @return string|null
      */
     public function getTheme()
     {
@@ -507,7 +507,7 @@ class View implements EventDispatcherInterface
     /**
      * Set the view theme to use.
      *
-     * @param string $theme Theme name.
+     * @param string|null $theme Theme name.
      * @return void
      */
     public function setTheme($theme)