@@ -8,6 +8,9 @@ |
||
8 | 8 | |
9 | 9 | class View extends FrontView |
10 | 10 | { |
11 | + /** |
|
12 | + * @param \Rudolf\Component\Helpers\Pagination\Calc $pagination |
|
13 | + */ |
|
11 | 14 | public function setData($data, $pagination, $info = false) |
12 | 15 | { |
13 | 16 | $path = '/foto/kategorie/'.$info['slug']; |
@@ -9,6 +9,9 @@ |
||
9 | 9 | |
10 | 10 | class View extends FrontView |
11 | 11 | { |
12 | + /** |
|
13 | + * @param \Rudolf\Component\Helpers\Pagination\Calc $pagination |
|
14 | + */ |
|
12 | 15 | public function rollView($data, $pagination) |
13 | 16 | { |
14 | 17 | $config = (new Module('albums'))->getConfig(); |
@@ -9,7 +9,6 @@ |
||
9 | 9 | /** |
10 | 10 | * Update article by id. |
11 | 11 | * |
12 | - * @param array $data |
|
13 | 12 | * |
14 | 13 | * @return int |
15 | 14 | */ |
@@ -7,6 +7,9 @@ |
||
7 | 7 | |
8 | 8 | class FormCheck extends Form |
9 | 9 | { |
10 | + /** |
|
11 | + * @param string $type |
|
12 | + */ |
|
10 | 13 | public function setType($type) |
11 | 14 | { |
12 | 15 | $this->type = $type; |
@@ -23,7 +23,7 @@ |
||
23 | 23 | 'type' => $this->type, |
24 | 24 | ], $this->data); |
25 | 25 | |
26 | - $data = array_map(function ($a) { |
|
26 | + $data = array_map(function($a) { |
|
27 | 27 | return trim($a); |
28 | 28 | }, $data); |
29 | 29 |
@@ -47,6 +47,9 @@ |
||
47 | 47 | return false; |
48 | 48 | } |
49 | 49 | |
50 | + /** |
|
51 | + * @param string $type |
|
52 | + */ |
|
50 | 53 | public function getAll($type) |
51 | 54 | { |
52 | 55 | $stmt = $this->pdo->prepare(" |
@@ -9,6 +9,7 @@ |
||
9 | 9 | /** |
10 | 10 | * Returns part of query. |
11 | 11 | * |
12 | + * @param string $part |
|
12 | 13 | * @return string |
13 | 14 | */ |
14 | 15 | protected function queryPart($part) |
@@ -10,7 +10,6 @@ |
||
10 | 10 | /** |
11 | 11 | * Add article. |
12 | 12 | * |
13 | - * @param array $data |
|
14 | 13 | * |
15 | 14 | * @return int |
16 | 15 | */ |
@@ -9,7 +9,6 @@ |
||
9 | 9 | /** |
10 | 10 | * Update article by id. |
11 | 11 | * |
12 | - * @param array $data |
|
13 | 12 | * |
14 | 13 | * @return int |
15 | 14 | */ |
@@ -135,7 +135,7 @@ |
||
135 | 135 | /** |
136 | 136 | * Returns modifier full name. |
137 | 137 | * |
138 | - * @return int |
|
138 | + * @return string |
|
139 | 139 | */ |
140 | 140 | public function modifierFullName($type = '') |
141 | 141 | { |