Completed
Push — master ( e8cbe7...f3c40f )
by Victor
21:02 queued 11:32
created
lib/private/App/AppManager.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 	/**
123 123
 	 * List all installed apps
124 124
 	 *
125
-	 * @return string[]
125
+	 * @return integer[]
126 126
 	 */
127 127
 	public function getInstalledApps() {
128 128
 		return array_keys($this->getInstalledAppsValues());
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
 	/**
232 232
 	 * Do not allow more than one active app-theme
233 233
 	 *
234
-	 * @param $appId
234
+	 * @param string $appId
235 235
 	 * @throws AppManagerException
236 236
 	 */
237 237
 	protected function canEnableTheme($appId) {
@@ -390,6 +390,9 @@  discard block
 block discarded – undo
390 390
 		return in_array($appId, $this->shippedApps);
391 391
 	}
392 392
 
393
+	/**
394
+	 * @param string $appId
395
+	 */
393 396
 	private function isAlwaysEnabled($appId) {
394 397
 		$alwaysEnabled = $this->getAlwaysEnabledApps();
395 398
 		return in_array($appId, $alwaysEnabled);
@@ -418,7 +421,7 @@  discard block
 block discarded – undo
418 421
 	/**
419 422
 	 * @param string $package package path
420 423
 	 * @param bool $skipMigrations whether to skip migrations, which would only install the code
421
-	 * @return string|false app id or false in case of error
424
+	 * @return integer app id or false in case of error
422 425
 	 * @since 10.0
423 426
 	 */
424 427
 	public function installApp($package, $skipMigrations = false) {
@@ -431,7 +434,7 @@  discard block
 block discarded – undo
431 434
 
432 435
 	/**
433 436
 	 * @param string $package
434
-	 * @return mixed
437
+	 * @return boolean
435 438
 	 * @since 10.0
436 439
 	 */
437 440
 	public function updateApp($package) {
Please login to merge, or discard this patch.
core/Command/App/Enable.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
 namespace OC\Core\Command\App;
26 26
 
27 27
 use OCP\App\IAppManager;
28
-use OCP\ILogger;
29 28
 use Symfony\Component\Console\Command\Command;
30 29
 use Symfony\Component\Console\Input\InputArgument;
31 30
 use Symfony\Component\Console\Input\InputInterface;
Please login to merge, or discard this patch.