@@ -19,7 +19,7 @@ |
||
| 19 | 19 | /** |
| 20 | 20 | * Constructor |
| 21 | 21 | * |
| 22 | - * @param array $settings settings |
|
| 22 | + * @param \Saito\Markup\MarkupSettings|null $settings settings |
|
| 23 | 23 | */ |
| 24 | 24 | public function __construct($settings) |
| 25 | 25 | { |
@@ -105,7 +105,7 @@ |
||
| 105 | 105 | /** |
| 106 | 106 | * Creates name for sitemap-file |
| 107 | 107 | * |
| 108 | - * @param array $params additional name parameters |
|
| 108 | + * @param integer[] $params additional name parameters |
|
| 109 | 109 | * @return string |
| 110 | 110 | */ |
| 111 | 111 | protected function _filename($params = []) |
@@ -170,7 +170,7 @@ |
||
| 170 | 170 | /** |
| 171 | 171 | * time to Cake start |
| 172 | 172 | * |
| 173 | - * @return mixed |
|
| 173 | + * @return double |
|
| 174 | 174 | */ |
| 175 | 175 | protected static function _timeToCake() |
| 176 | 176 | { |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | * Get status as JSON response |
| 66 | 66 | * |
| 67 | 67 | * @param string $data json-encoded data |
| 68 | - * @return mixed |
|
| 68 | + * @return string |
|
| 69 | 69 | */ |
| 70 | 70 | protected function _statusAsJson($data) |
| 71 | 71 | { |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | /** |
| 73 | 73 | * attaches event-listener |
| 74 | 74 | * |
| 75 | - * @param string|SaitoEventListener $key key |
|
| 75 | + * @param \Saito\Cache\EntriesCacheSupportCachelet $key key |
|
| 76 | 76 | * @param null $callable function if $key is set |
| 77 | 77 | * @return void |
| 78 | 78 | * @throws \InvalidArgumentException |
@@ -88,7 +88,7 @@ |
||
| 88 | 88 | * |
| 89 | 89 | * @param string $string string |
| 90 | 90 | * @param array $replacements replacements |
| 91 | - * @return mixed |
|
| 91 | + * @return string |
|
| 92 | 92 | */ |
| 93 | 93 | protected function _debug($string, $replacements) |
| 94 | 94 | { |
@@ -134,7 +134,7 @@ |
||
| 134 | 134 | * |
| 135 | 135 | * @param int $userId user-ID |
| 136 | 136 | * @param int $blockedId user-ID |
| 137 | - * @return mixed |
|
| 137 | + * @return \Cake\Datasource\EntityInterface |
|
| 138 | 138 | */ |
| 139 | 139 | protected function _get(int $userId, int $blockedId) |
| 140 | 140 | { |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | /** |
| 69 | 69 | * posting index |
| 70 | 70 | * |
| 71 | - * @return void|\Cake\Network\Response |
|
| 71 | + * @return Response|null |
|
| 72 | 72 | */ |
| 73 | 73 | public function index() |
| 74 | 74 | { |
@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | * View posting. |
| 190 | 190 | * |
| 191 | 191 | * @param string $id posting-ID |
| 192 | - * @return \Cake\Network\Response|void |
|
| 192 | + * @return Response|null |
|
| 193 | 193 | */ |
| 194 | 194 | public function view($id = null) |
| 195 | 195 | { |
@@ -299,7 +299,7 @@ discard block |
||
| 299 | 299 | * Get thread-line to insert after an inline-answer |
| 300 | 300 | * |
| 301 | 301 | * @param string $id posting-ID |
| 302 | - * @return void|\Cake\Network\Response |
|
| 302 | + * @return Response|null |
|
| 303 | 303 | */ |
| 304 | 304 | public function threadLine($id = null) |
| 305 | 305 | { |
@@ -448,7 +448,7 @@ discard block |
||
| 448 | 448 | * @param string $id posting-ID |
| 449 | 449 | * @param string $toggle property |
| 450 | 450 | * |
| 451 | - * @return \Cake\Network\Response |
|
| 451 | + * @return Response |
|
| 452 | 452 | */ |
| 453 | 453 | public function ajaxToggle($id = null, $toggle = null) |
| 454 | 454 | { |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | |
| 39 | 39 | $page = $this->getPageTitle($controller); |
| 40 | 40 | $title = $this->getTitleForLayout($controller, $page, $forum); |
| 41 | - $controller->set(['titleForLayout' => $title, 'titleForPage' => $page ]); |
|
| 41 | + $controller->set(['titleForLayout' => $title, 'titleForPage' => $page]); |
|
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | /** |