Completed
Push — stable8.1 ( 4a462f...c290df )
by Thomas
05:45
created
lib/addressbook.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -396,7 +396,7 @@
 block discarded – undo
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)) {
Please login to merge, or discard this patch.
lib/app.php 1 patch
Unused Use Statements   -10 removed lines patch added patch discarded remove patch
@@ -10,16 +10,6 @@
 block discarded – undo
10 10
 
11 11
 namespace OCA\Contacts;
12 12
 
13
-use Sabre\VObject,
14
-	OCP\AppFramework,
15
-	OCA\Contacts\Controller\AddressBookController,
16
-	OCA\Contacts\Controller\BackendController,
17
-	OCA\Contacts\Controller\GroupController,
18
-	OCA\Contacts\Controller\ContactController,
19
-	OCA\Contacts\Controller\ContactPhotoController,
20
-	OCA\Contacts\Controller\SettingsController,
21
-	OCA\Contacts\Controller\ImportController;
22
-
23 13
 /**
24 14
  * This class manages our app actions
25 15
  *
Please login to merge, or discard this patch.
lib/connector/importconnector.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@
 block discarded – undo
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
 	}
Please login to merge, or discard this patch.
lib/dispatcher.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 namespace OCA\Contacts;
12 12
 
13 13
 use OCP\AppFramework\App as MainApp;
14
-use OCP\AppFramework\Http;
15 14
 use OCP\AppFramework\IAppContainer;
16 15
 use OCA\Contacts\Middleware\Http as HttpMiddleware;
17 16
 use OCA\Contacts\Controller\PageController;
Please login to merge, or discard this patch.
lib/importmanager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
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";
Please login to merge, or discard this patch.