@@ -46,7 +46,7 @@ abstract class Presenter extends Control implements Application\IPresenter
4646 /** @var callable[] function (Presenter $sender, IResponse $response = NULL); Occurs when the presenter is shutting down */
4747 public $ onShutdown ;
4848
49- /** @var Nette\Application\Request */
49+ /** @var Nette\Application\Request|NULL */
5050 private $ request ;
5151
5252 /** @var Nette\Application\IResponse */
@@ -91,7 +91,7 @@ abstract class Presenter extends Control implements Application\IPresenter
9191 /** @var bool */
9292 private $ startupCheck ;
9393
94- /** @var Nette\Application\Request */
94+ /** @var Nette\Application\Request|NULL */
9595 private $ lastCreatedRequest ;
9696
9797 /** @var array */
@@ -132,7 +132,7 @@ public function __construct()
132132
133133
134134 /**
135- * @return Nette\Application\Request
135+ * @return Nette\Application\Request|NULL
136136 */
137137 public function getRequest ()
138138 {
@@ -472,7 +472,7 @@ public function sendTemplate()
472472
473473 /**
474474 * Finds layout template file name.
475- * @return string
475+ * @return string|NULL
476476 * @internal
477477 */
478478 public function findLayoutTemplateFile ()
@@ -709,7 +709,7 @@ public function backlink()
709709
710710 /**
711711 * Returns the last created Request.
712- * @return Nette\Application\Request
712+ * @return Nette\Application\Request|NULL
713713 * @internal
714714 */
715715 public function getLastCreatedRequest ()
@@ -775,7 +775,7 @@ public function lastModified($lastModified, $etag = NULL, $expire = NULL)
775775 * @param string destination in format "[//] [[[module:]presenter:]action | signal! | this] [#fragment]"
776776 * @param array array of arguments
777777 * @param string forward|redirect|link
778- * @return string URL
778+ * @return string|NULL URL
779779 * @throws InvalidLinkException
780780 * @internal
781781 */
0 commit comments