Completed
Pull Request — master (#26112)
by Thomas
12:39
created
apps/files_external/lib/Command/Backends.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -27,13 +27,8 @@
 block discarded – undo
27 27
 use OCA\Files_External\Lib\DefinitionParameter;
28 28
 use OCA\Files_External\Service\BackendService;
29 29
 use Symfony\Component\Console\Command\Command;
30
-use Symfony\Component\Console\Helper\Table;
31
-use Symfony\Component\Console\Helper\TableHelper;
32
-use Symfony\Component\Console\Input\ArrayInput;
33 30
 use Symfony\Component\Console\Input\InputArgument;
34 31
 use Symfony\Component\Console\Input\InputInterface;
35
-use Symfony\Component\Console\Input\InputOption;
36
-use Symfony\Component\Console\Input\Input;
37 32
 use Symfony\Component\Console\Output\OutputInterface;
38 33
 
39 34
 class Backends extends Base {
Please login to merge, or discard this patch.
apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace OCA\DAV\CalDAV\Publishing\Xml;
4 4
 
5
-use OCA\DAV\CalDAV\Publishing\PublishPlugin as Plugin;
6 5
 use Sabre\Xml\Writer;
7 6
 use Sabre\Xml\XmlSerializable;
8 7
 
Please login to merge, or discard this patch.
apps/dav/lib/DAV/PublicAuth.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@
 block discarded – undo
30 30
 	private $publicURLs;
31 31
 
32 32
 	/**
33
-	 * @param string[] $publicURLs
34 33
 	 */
35 34
 	public function __construct() {
36 35
 		$this->publicURLs = [
Please login to merge, or discard this patch.
lib/private/Repair/RepairUnmergedShares.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
 	 * @param array $groupSharesById
208 208
 	 * @param array $subShares
209 209
 	 *
210
-	 * @return true if the share is valid, false if it needs repair
210
+	 * @return boolean if the share is valid, false if it needs repair
211 211
 	 */
212 212
 	private function isThisShareValid($groupSharesById, $subShares) {
213 213
 		$foundTargets = [];
Please login to merge, or discard this patch.
apps/dav/lib/CardDAV/AddressBookImpl.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 	 * @param AddressBook $addressBook
51 51
 	 * @param array $addressBookInfo
52 52
 	 * @param CardDavBackend $backend
53
-	 * @param IUrlGenerator $urlGenerator
53
+	 * @param IURLGenerator $urlGenerator
54 54
 	 */
55 55
 	public function __construct(
56 56
 			AddressBook $addressBook,
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 	}
134 134
 
135 135
 	/**
136
-	 * @return mixed
136
+	 * @return integer
137 137
 	 * @since 5.0.0
138 138
 	 */
139 139
 	public function getPermissions() {
Please login to merge, or discard this patch.
apps/dav/lib/Connector/Sabre/FilesReportPlugin.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 	 * This will be used in the {DAV:}supported-report-set property.
134 134
 	 *
135 135
 	 * @param string $uri
136
-	 * @return array
136
+	 * @return string[]
137 137
 	 */
138 138
 	public function getSupportedReportSet($uri) {
139 139
 		return [self::REPORT_NAME];
@@ -253,6 +253,7 @@  discard block
 block discarded – undo
253 253
 	 *
254 254
 	 * @param string[] $requestedProps requested properties
255 255
 	 * @param Node[] nodes nodes for which to fetch and prepare responses
256
+	 * @param Node[] $nodes
256 257
 	 * @return Response[]
257 258
 	 */
258 259
 	public function prepareResponses($requestedProps, $nodes) {
Please login to merge, or discard this patch.
apps/dav/lib/Connector/Sabre/QuotaPlugin.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -111,6 +111,9 @@
 block discarded – undo
111 111
 		return true;
112 112
 	}
113 113
 
114
+	/**
115
+	 * @param string[] $info
116
+	 */
114 117
 	public function getFileChunking($info) {
115 118
 		// FIXME: need a factory for better mocking support
116 119
 		return new \OC_FileChunking($info);
Please login to merge, or discard this patch.
lib/private/App/CodeChecker/CodeChecker.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,6 @@
 block discarded – undo
25 25
 
26 26
 use OC\Hooks\BasicEmitter;
27 27
 use PhpParser\Lexer;
28
-use PhpParser\Node;
29
-use PhpParser\Node\Name;
30 28
 use PhpParser\NodeTraverser;
31 29
 use PhpParser\Parser;
32 30
 use RecursiveCallbackFilterIterator;
Please login to merge, or discard this patch.
lib/private/Console/TimestampFormatter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
 	 * Checks if output formatter has style with specified name.
72 72
 	 *
73 73
 	 * @param string $name
74
-	 * @return bool
74
+	 * @return boolean|null
75 75
 	 */
76 76
 	public function hasStyle($name) {
77 77
 		$this->formatter->hasStyle($name);
Please login to merge, or discard this patch.