|
@@ -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)
|