@@ -49,7 +49,6 @@ discard block |
||
49 | 49 | /** |
50 | 50 | * Sets the pattern for the path. |
51 | 51 | * |
52 | - * @param string $pattern The path pattern |
|
53 | 52 | */ |
54 | 53 | private function setPath($path) |
55 | 54 | { |
@@ -79,7 +78,7 @@ discard block |
||
79 | 78 | /** |
80 | 79 | * Returns the controller name. |
81 | 80 | * |
82 | - * @return array $controllerName |
|
81 | + * @return string $controllerName |
|
83 | 82 | */ |
84 | 83 | public function getControllerName() |
85 | 84 | { |
@@ -109,7 +108,7 @@ discard block |
||
109 | 108 | /** |
110 | 109 | * Returns the priority. |
111 | 110 | * |
112 | - * @return array $priority |
|
111 | + * @return integer $priority |
|
113 | 112 | */ |
114 | 113 | public function getPriority() |
115 | 114 | { |
@@ -45,7 +45,7 @@ |
||
45 | 45 | /** |
46 | 46 | * Create connection with database. |
47 | 47 | * |
48 | - * @return object PDO |
|
48 | + * @return PDO PDO |
|
49 | 49 | */ |
50 | 50 | private function connect() |
51 | 51 | { |
@@ -88,6 +88,9 @@ |
||
88 | 88 | return $sText; |
89 | 89 | } |
90 | 90 | |
91 | + /** |
|
92 | + * @return string |
|
93 | + */ |
|
91 | 94 | public function clearDiacritics($sText) |
92 | 95 | { |
93 | 96 | $aReplacePL = array( |
@@ -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,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) |
@@ -237,7 +237,7 @@ |
||
237 | 237 | /** |
238 | 238 | * Returns modifier full name. |
239 | 239 | * |
240 | - * @return int |
|
240 | + * @return string |
|
241 | 241 | */ |
242 | 242 | public function modifierFullName($type = '') |
243 | 243 | { |
@@ -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,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) |
@@ -9,7 +9,6 @@ |
||
9 | 9 | /** |
10 | 10 | * Add article. |
11 | 11 | * |
12 | - * @param array $data |
|
13 | 12 | * |
14 | 13 | * @return int Article ID |
15 | 14 | */ |