@@ -71,7 +71,6 @@ discard block |
||
71 | 71 | * @param string $tag The filter hook to which the function to be removed is hooked. |
72 | 72 | * @param callback $functionToRemove The name of the function which should be removed. |
73 | 73 | * @param int $priority optional. The priority of the function (default: 10). |
74 | - * @param int $accepted_args optional. The number of arguments the function accepts (default: 1). |
|
75 | 74 | * |
76 | 75 | * @return bool Whether the function existed before it was removed. |
77 | 76 | */ |
@@ -160,7 +159,6 @@ discard block |
||
160 | 159 | * |
161 | 160 | * @param string $tag The name of the filter hook. |
162 | 161 | * @param mixed $value The value on which the filters hooked to <tt>$tag</tt> are applied on. |
163 | - * @param mixed $var,... Additional variables passed to the functions hooked to <tt>$tag</tt>. |
|
164 | 162 | * |
165 | 163 | * @return mixed The filtered value after all hooked functions are applied to it. |
166 | 164 | */ |
@@ -125,7 +125,6 @@ |
||
125 | 125 | /** |
126 | 126 | * Set page favicon. |
127 | 127 | * |
128 | - * @param string $href Favicon location |
|
129 | 128 | */ |
130 | 129 | public function setFavicon($favicon) |
131 | 130 | { |
@@ -11,6 +11,9 @@ |
||
11 | 11 | file_put_contents(LOG_ROOT.'/'.$level.'.log', $this->format($message), FILE_APPEND | LOCK_EX); |
12 | 12 | } |
13 | 13 | |
14 | + /** |
|
15 | + * @param string $message |
|
16 | + */ |
|
14 | 17 | private function format($message) |
15 | 18 | { |
16 | 19 | return sprintf( |
@@ -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 | { |
@@ -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) |
@@ -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 | { |
@@ -15,6 +15,9 @@ discard block |
||
15 | 15 | $this->root = THEMES_ROOT.'/front/'.FRONT_THEME.'/'; |
16 | 16 | } |
17 | 17 | |
18 | + /** |
|
19 | + * @param string $path |
|
20 | + */ |
|
18 | 21 | public function getFilesListByPath($path) |
19 | 22 | { |
20 | 23 | return array_diff( |
@@ -23,6 +26,9 @@ discard block |
||
23 | 26 | ); |
24 | 27 | } |
25 | 28 | |
29 | + /** |
|
30 | + * @param string $path |
|
31 | + */ |
|
26 | 32 | public function getFileInfo($path) |
27 | 33 | { |
28 | 34 | $file = $this->root.$path; |
@@ -40,6 +46,9 @@ discard block |
||
40 | 46 | ]; |
41 | 47 | } |
42 | 48 | |
49 | + /** |
|
50 | + * @param string $path |
|
51 | + */ |
|
43 | 52 | public function saveFile($path, $data) |
44 | 53 | { |
45 | 54 | $file = $this->root.$path; |
@@ -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) |