| @@ -393,8 +393,8 @@ | ||
| 393 | 393 | /** | 
| 394 | 394 | * Setter method for Attribute | 
| 395 | 395 | * | 
| 396 | - * @param array $attribute attribute name | |
| 397 | - * @param array $value value | |
| 396 | + * @param string $attribute attribute name | |
| 397 | + * @param null|boolean $value value | |
| 398 | 398 | */ | 
| 399 | 399 | public function setAttribute($attribute, $value) | 
| 400 | 400 |      { | 
| @@ -32,6 +32,7 @@ | ||
| 32 | 32 | interface EventInterface | 
| 33 | 33 |  { | 
| 34 | 34 | /** | 
| 35 | + * @return void | |
| 35 | 36 | */ | 
| 36 | 37 | public function execute(\Koch\Event\Event $event); | 
| 37 | 38 | } | 
| @@ -33,6 +33,7 @@ | ||
| 33 | 33 | interface FilterInterface | 
| 34 | 34 |  { | 
| 35 | 35 | /** | 
| 36 | + * @return void | |
| 36 | 37 | */ | 
| 37 | 38 | public function executeFilter(HttpRequestInterface $request, HttpResponseInterface $response); | 
| 38 | 39 | } | 
| @@ -27,6 +27,7 @@ | ||
| 27 | 27 | interface DecoratorInterface | 
| 28 | 28 |  { | 
| 29 | 29 | /** | 
| 30 | + * @return void | |
| 30 | 31 | */ | 
| 31 | 32 | public function decorateWith($decorator); | 
| 32 | 33 | public function getName(); | 
| @@ -41,10 +41,12 @@ discard block | ||
| 41 | 41 | |
| 42 | 42 | /** | 
| 43 | 43 | * @param string $array | 
| 44 | + * @return void | |
| 44 | 45 | */ | 
| 45 | 46 | public function expectParameter($parameter, $array); | 
| 46 | 47 | |
| 47 | 48 | /** | 
| 49 | + * @return void | |
| 48 | 50 | */ | 
| 49 | 51 | public function expectParameters(array $parameters); | 
| 50 | 52 | |
| @@ -67,6 +69,7 @@ discard block | ||
| 67 | 69 | public static function getRequestMethod(); | 
| 68 | 70 | |
| 69 | 71 | /** | 
| 72 | + * @return void | |
| 70 | 73 | */ | 
| 71 | 74 | public static function setRequestMethod($method); | 
| 72 | 75 | |
| @@ -33,16 +33,19 @@ discard block | ||
| 33 | 33 | |
| 34 | 34 | /** | 
| 35 | 35 | * @param string $statusCode | 
| 36 | + * @return void | |
| 36 | 37 | */ | 
| 37 | 38 | public static function setStatusCode($statusCode); | 
| 38 | 39 | |
| 39 | 40 | /** | 
| 40 | 41 | * @param string $name | 
| 41 | 42 | * @param string $value | 
| 43 | + * @return void | |
| 42 | 44 | */ | 
| 43 | 45 | public static function addHeader($name, $value); | 
| 44 | 46 | |
| 45 | 47 | /** | 
| 48 | + * @return void | |
| 46 | 49 | */ | 
| 47 | 50 | public static function setContent($content, $replace = false); | 
| 48 | 51 | |
| @@ -67,6 +70,7 @@ discard block | ||
| 67 | 70 | ); | 
| 68 | 71 | |
| 69 | 72 | /** | 
| 73 | + * @return void | |
| 70 | 74 | */ | 
| 71 | 75 | public static function deleteCookie($name, $path = '/', $domain = '', $secure = false, $httponly = null); | 
| 72 | 76 | } | 
| @@ -114,6 +114,7 @@ | ||
| 114 | 114 | * @param mixed $level | 
| 115 | 115 | * @param string $message | 
| 116 | 116 | * @param array $context | 
| 117 | + * @return boolean | |
| 117 | 118 | */ | 
| 118 | 119 | public function log($level, $message, array $context = []); | 
| 119 | 120 | } | 
| @@ -36,15 +36,18 @@ | ||
| 36 | 36 | public function actionShow(); // GET /foos/:foo_id | 
| 37 | 37 | |
| 38 | 38 | /** | 
| 39 | + * @return void | |
| 39 | 40 | */ | 
| 40 | 41 | public function actionNew(); // GET /foos/new | 
| 41 | 42 | public function actionEdit(); // GET /foos/:foo_id/edit | 
| 42 | 43 | |
| 43 | 44 | /** | 
| 45 | + * @return void | |
| 44 | 46 | */ | 
| 45 | 47 | public function actionInsert(); // POST /foos | 
| 46 | 48 | |
| 47 | 49 | /** | 
| 50 | + * @return void | |
| 48 | 51 | */ | 
| 49 | 52 | public function actionUpdate(); // PUT /foos/:foo_id | 
| 50 | 53 | public function actionDelete(); // DELETE /foos/:foo_id | 
| @@ -36,18 +36,22 @@ | ||
| 36 | 36 | interface FrontControllerInterface | 
| 37 | 37 |  { | 
| 38 | 38 | /** | 
| 39 | + * @return void | |
| 39 | 40 | */ | 
| 40 | 41 | public function __construct(HttpRequestInterface $request, HttpResponseInterface $response); | 
| 41 | 42 | |
| 42 | 43 | /** | 
| 44 | + * @return void | |
| 43 | 45 | */ | 
| 44 | 46 | public function processRequest(); | 
| 45 | 47 | |
| 46 | 48 | /** | 
| 49 | + * @return void | |
| 47 | 50 | */ | 
| 48 | 51 | public function addPreFilter(FilterInterface $filter); | 
| 49 | 52 | |
| 50 | 53 | /** | 
| 54 | + * @return void | |
| 51 | 55 | */ | 
| 52 | 56 | public function addPostFilter(FilterInterface $filter); | 
| 53 | 57 | } |