@@ -178,7 +178,7 @@ |
||
| 178 | 178 | /** |
| 179 | 179 | * Sets $_batteryDate. |
| 180 | 180 | * |
| 181 | - * @param object $batteryDate battery date |
|
| 181 | + * @param string $batteryDate battery date |
|
| 182 | 182 | * |
| 183 | 183 | * @see UPSDevice::$_batteryDate |
| 184 | 184 | * |
@@ -633,7 +633,7 @@ |
||
| 633 | 633 | /** |
| 634 | 634 | * get the xml object |
| 635 | 635 | * |
| 636 | - * @return string |
|
| 636 | + * @return SimpleXMLElement |
|
| 637 | 637 | */ |
| 638 | 638 | public function getXml() |
| 639 | 639 | { |
@@ -221,6 +221,7 @@ |
||
| 221 | 221 | * @param Array $child part of the array which should be appended to the XML |
| 222 | 222 | * @param SimpleXMLExtended $xml XML-Object to which the array content is appended |
| 223 | 223 | * @param Array &$positions array with parent positions in xml structure |
| 224 | + * @param integer[] $positions |
|
| 224 | 225 | * |
| 225 | 226 | * @return SimpleXMLExtended Object with the appended array content |
| 226 | 227 | */ |
@@ -261,7 +261,7 @@ |
||
| 261 | 261 | /** |
| 262 | 262 | * generates the XML content for the plugin |
| 263 | 263 | * |
| 264 | - * @return SimpleXMLObject entire XML content for the plugin |
|
| 264 | + * @return SimpleXMLElement entire XML content for the plugin |
|
| 265 | 265 | */ |
| 266 | 266 | public function xml() |
| 267 | 267 | { |
@@ -221,7 +221,7 @@ |
||
| 221 | 221 | * @param $template |
| 222 | 222 | * @param string $theme |
| 223 | 223 | * @param bool $block |
| 224 | - * @return bool|string |
|
| 224 | + * @return string |
|
| 225 | 225 | */ |
| 226 | 226 | function filemtime_override($dirname, $template, $theme = '', $block = false) |
| 227 | 227 | { |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | * We are disabling this function on Windows OSes right now until |
| 50 | 50 | * we can be certain of the proper way to check world-readability |
| 51 | 51 | * |
| 52 | - * @return unknown |
|
| 52 | + * @return boolean |
|
| 53 | 53 | */ |
| 54 | 54 | function isTestable() { |
| 55 | 55 | if ($this->osIsWindows()) { |
@@ -261,7 +261,7 @@ |
||
| 261 | 261 | /** |
| 262 | 262 | * generates the XML content for the plugin |
| 263 | 263 | * |
| 264 | - * @return SimpleXMLObject entire XML content for the plugin |
|
| 264 | + * @return SimpleXMLElement entire XML content for the plugin |
|
| 265 | 265 | */ |
| 266 | 266 | public function xml() |
| 267 | 267 | { |
@@ -261,7 +261,7 @@ |
||
| 261 | 261 | /** |
| 262 | 262 | * generates the XML content for the plugin |
| 263 | 263 | * |
| 264 | - * @return SimpleXMLObject entire XML content for the plugin |
|
| 264 | + * @return SimpleXMLElement entire XML content for the plugin |
|
| 265 | 265 | */ |
| 266 | 266 | public function xml() |
| 267 | 267 | { |