correct typos in doc-tags and add missing tags

This commit is contained in:
coderkun 2014-09-16 12:42:19 +02:00
commit b8d4342926
12 changed files with 24 additions and 10 deletions

View file

@ -107,7 +107,7 @@
* @throws ControllerNotFoundException
* @param string $agentName Name of the Agent to instantiate
* @param Request $request Current request
* @param Response $respone Current respone
* @param Response $response Current response
* @param Logger $log Log-system
*/
public static function factory($agentName, Request $request, Response $response, Logger $log=null)
@ -165,7 +165,7 @@
* @throws ControllerNotValidException
* @throws ControllerNotFoundException
* @param Request $request Current request
* @param Response $respone Current response
* @param Response $response Current response
* @param Logger $log Log-system
*/
protected function __construct(Request $request, Response $response, Logger $log=null)
@ -500,8 +500,9 @@
/**
* Handle the exception of a SubAgent.
*
* @param string $label Name of the original Agent
* @param Excepiton $exception Occurred exception
* @param Agent $subAgent SubAgent to handle error of
* @param Request $request Current request
* @param Exception $exception Occurred exception
* @return array InlineError-SubAgent
*/
private function errorInline($subAgent, $request, $exception)

View file

@ -54,7 +54,7 @@
* Construct a new API.
*
* @param Request $request Current request
* @param Response $respone Current response
* @param Response $response Current response
*/
public function __construct(Request $request, Response $response)
{

View file

@ -27,7 +27,7 @@
* Load a class.
*
* @throws ClassNotFoundException
* @param string $className Name of the class to load
* @param string $fullClassName Name of the class to load
*/
public static function load($fullClassName)
{

View file

@ -93,6 +93,7 @@
* @param string $controllerName Name of the Controller to instantiate
* @param string $layoutName Name of the current Layout
* @param string $action Current Action
* @param string $agent Name of Agent
*/
public static function factory($controllerName, $layoutName, $action, $agent)
{

View file

@ -55,6 +55,7 @@
* Instantiate a Driver (Factory Pattern).
*
* @param string $driverName Name of the Driver to instantiate
* @param mixed $config Driver configuration
*/
public static function factory($driverName, $config)
{