@@ -396,7 +396,7 @@ |
||
| 396 | 396 | |
| 397 | 397 | /** |
| 398 | 398 | * @internal implements Countable |
| 399 | - * @return int|null |
|
| 399 | + * @return integer |
|
| 400 | 400 | */ |
| 401 | 401 | public function count() { |
| 402 | 402 | if (!isset($this->_count)) { |
@@ -50,6 +50,9 @@ |
||
| 50 | 50 | // returns the probability that the file matchs the current format |
| 51 | 51 | abstract function getFormatMatch($file); |
| 52 | 52 | |
| 53 | + /** |
|
| 54 | + * @param \SimpleXMLElement $xml_config |
|
| 55 | + */ |
|
| 53 | 56 | public function setConfig($xml_config) { |
| 54 | 57 | $this->configContent = $xml_config; |
| 55 | 58 | } |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | |
| 74 | 74 | /** |
| 75 | 75 | * @brief get all the preferences for the addressbook |
| 76 | - * @return SimpleXml |
|
| 76 | + * @return \SimpleXMLElement|null |
|
| 77 | 77 | */ |
| 78 | 78 | public function getType($typeName) { |
| 79 | 79 | $path = __DIR__ . "/../formats/import_" . $typeName . "_connector.xml"; |
@@ -150,7 +150,7 @@ |
||
| 150 | 150 | |
| 151 | 151 | /** |
| 152 | 152 | * @param \Sabre\DAV\Server $server |
| 153 | - * @param $realm |
|
| 153 | + * @param string $realm |
|
| 154 | 154 | * @return bool |
| 155 | 155 | */ |
| 156 | 156 | private function auth(\Sabre\DAV\Server $server, $realm) { |