Skip to content

Commit 7f0acdf

Browse files
e1himselfGromNaN
authored andcommitted
Add phpDocs to last two props of sfController
1 parent fa47f3e commit 7f0acdf

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/controller/sfController.class.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ abstract class sfController
2626
protected $dispatcher = null;
2727
/** @var string[] */
2828
protected $controllerClasses = array();
29+
/** @var int */
2930
protected $renderMode = sfView::RENDER_CLIENT;
31+
/** @var int */
3032
protected $maxForwards = 5;
31-
33+
3234
/**
3335
* Class constructor.
3436
*
@@ -371,7 +373,7 @@ public function getView($moduleName, $actionName, $viewName)
371373

372374
return new $class($this->context, $moduleName, $actionName, $viewName);
373375
}
374-
376+
375377
/**
376378
* Returns the rendered view presentation of a given module/action.
377379
*
@@ -497,7 +499,7 @@ public function inCLI()
497499
{
498500
return 'cli' == PHP_SAPI;
499501
}
500-
502+
501503
/**
502504
* Calls methods defined via sfEventDispatcher.
503505
*

0 commit comments

Comments
 (0)