@@ -70,6 +70,9 @@ discard block |
||
70 | 70 | /* Parse gettext .po files. */ |
71 | 71 | /* @link http://www.gnu.org/software/gettext/manual/gettext.html#PO-Files */ |
72 | 72 | |
73 | +/** |
|
74 | + * @param string $in |
|
75 | + */ |
|
73 | 76 | function phpmo_parse_po_file($in) { |
74 | 77 | // read .po file |
75 | 78 | $fc = file_get_contents($in); |
@@ -170,6 +173,9 @@ discard block |
||
170 | 173 | /* Write a GNU gettext style machine object. */ |
171 | 174 | /* @link http://www.gnu.org/software/gettext/manual/gettext.html#MO-Files */ |
172 | 175 | |
176 | +/** |
|
177 | + * @param string|boolean $out |
|
178 | + */ |
|
173 | 179 | function phpmo_write_mo_file($hash, $out) { |
174 | 180 | // sort by msgid |
175 | 181 | ksort($hash, SORT_STRING); |
@@ -150,7 +150,7 @@ |
||
150 | 150 | /** |
151 | 151 | * Run self::getQueries() with DROP_PATTERN |
152 | 152 | * |
153 | - * @return array |
|
153 | + * @return string[] |
|
154 | 154 | */ |
155 | 155 | protected function getDropQueries() { |
156 | 156 |
@@ -4,11 +4,15 @@ |
||
4 | 4 | |
5 | 5 | interface ResultInterface { |
6 | 6 | |
7 | + /** |
|
8 | + * @return void |
|
9 | + */ |
|
7 | 10 | public function __construct($groupName); |
8 | 11 | |
9 | 12 | /** |
10 | 13 | * @param string $name |
11 | 14 | * @param string $url |
15 | + * @return void |
|
12 | 16 | */ |
13 | 17 | public function addResult($name , $url); |
14 | 18 |
@@ -21,6 +21,7 @@ |
||
21 | 21 | |
22 | 22 | /** |
23 | 23 | * Selects the category assigned by the user |
24 | + * @param integer $type |
|
24 | 25 | * @return object Information about the selected category |
25 | 26 | */ |
26 | 27 | public function init($type) { |
@@ -174,7 +174,7 @@ |
||
174 | 174 | /** |
175 | 175 | * Save settings |
176 | 176 | * |
177 | - * @return bool|string |
|
177 | + * @return boolean |
|
178 | 178 | */ |
179 | 179 | public function saveSettings(SPaymentMethods $paymentMethod) { |
180 | 180 | $saveKey = $paymentMethod->getId() . '_' . $this->moduleName; |
@@ -174,7 +174,7 @@ |
||
174 | 174 | /** |
175 | 175 | * Save settings |
176 | 176 | * |
177 | - * @return bool|string |
|
177 | + * @return boolean |
|
178 | 178 | */ |
179 | 179 | public function saveSettings(SPaymentMethods $paymentMethod) { |
180 | 180 | $saveKey = $paymentMethod->getId() . '_' . $this->moduleName; |
@@ -174,7 +174,7 @@ |
||
174 | 174 | /** |
175 | 175 | * Save settings |
176 | 176 | * |
177 | - * @return bool|string |
|
177 | + * @return boolean |
|
178 | 178 | */ |
179 | 179 | public function saveSettings(SPaymentMethods $paymentMethod) { |
180 | 180 | $saveKey = $paymentMethod->getId() . '_' . $this->moduleName; |
@@ -174,7 +174,7 @@ |
||
174 | 174 | /** |
175 | 175 | * Save settings |
176 | 176 | * |
177 | - * @return bool|string |
|
177 | + * @return boolean |
|
178 | 178 | */ |
179 | 179 | public function saveSettings(SPaymentMethods $paymentMethod) { |
180 | 180 | $saveKey = $paymentMethod->getId() . '_' . $this->moduleName; |
@@ -174,7 +174,7 @@ |
||
174 | 174 | /** |
175 | 175 | * Save settings |
176 | 176 | * |
177 | - * @return bool|string |
|
177 | + * @return boolean |
|
178 | 178 | */ |
179 | 179 | public function saveSettings(SPaymentMethods $paymentMethod) { |
180 | 180 | $saveKey = $paymentMethod->getId() . '_' . $this->moduleName; |