Completed
Pull Request — master (#3531)
by Julius
15:36
created
apps/theming/lib/Util.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 	/**
69 69
 	 * get color for on-page elements:
70 70
 	 * theme color by default, grey if theme color is to bright
71
-	 * @param $color
71
+	 * @param string $color
72 72
 	 * @return string
73 73
 	 */
74 74
 	public function elementColor($color) {
@@ -181,8 +181,8 @@  discard block
 block discarded – undo
181 181
 	/**
182 182
 	 * replace default color with a custom one
183 183
 	 *
184
-	 * @param $svg string content of a svg file
185
-	 * @param $color string color to match
184
+	 * @param string $svg string content of a svg file
185
+	 * @param string $color string color to match
186 186
 	 * @return string
187 187
 	 */
188 188
 	public function colorizeSvg($svg, $color) {
Please login to merge, or discard this patch.
lib/private/Template/CSSResourceLocator.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -103,6 +103,11 @@
 block discarded – undo
103 103
 		return false;
104 104
 	}
105 105
 
106
+	/**
107
+	 * @param false|string $root
108
+	 * @param string $file
109
+	 * @param string|false $webRoot
110
+	 */
106 111
 	public function append($root, $file, $webRoot = null, $throw = true, $scss = false) {
107 112
 		if (!$scss) {
108 113
 			parent::append($root, $file, $webRoot, $throw);
Please login to merge, or discard this patch.
lib/private/Files/Cache/Cache.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -410,6 +410,9 @@  discard block
 block discarded – undo
410 410
 		}
411 411
 	}
412 412
 
413
+	/**
414
+	 * @param string $path
415
+	 */
413 416
 	private function getParentPath($path) {
414 417
 		$parent = dirname($path);
415 418
 		if ($parent === '.') {
@@ -629,7 +632,7 @@  discard block
 block discarded – undo
629 632
 	 *
630 633
 	 * @param string $mimetype either a full mimetype to search ('text/plain') or only the first part of a mimetype ('image')
631 634
 	 *        where it will search for all mimetypes in the group ('image/*')
632
-	 * @return ICacheEntry[] an array of cache entries where the mimetype matches the search
635
+	 * @return CacheEntry[] an array of cache entries where the mimetype matches the search
633 636
 	 */
634 637
 	public function searchByMime($mimetype) {
635 638
 		if (strpos($mimetype, '/')) {
Please login to merge, or discard this patch.
lib/private/App/AppManager.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 	/**
122 122
 	 * List all installed apps
123 123
 	 *
124
-	 * @return string[]
124
+	 * @return integer[]
125 125
 	 */
126 126
 	public function getInstalledApps() {
127 127
 		return array_keys($this->getInstalledAppsValues());
@@ -382,6 +382,9 @@  discard block
 block discarded – undo
382 382
 		return in_array($appId, $this->shippedApps, true);
383 383
 	}
384 384
 
385
+	/**
386
+	 * @param string $appId
387
+	 */
385 388
 	private function isAlwaysEnabled($appId) {
386 389
 		$alwaysEnabled = $this->getAlwaysEnabledApps();
387 390
 		return in_array($appId, $alwaysEnabled, true);
Please login to merge, or discard this patch.
apps/theming/lib/ThemingDefaults.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 	 * @param IL10N $l
61 61
 	 * @param IURLGenerator $urlGenerator
62 62
 	 * @param \OC_Defaults $defaults
63
-	 * @param IRootFolder $appData
63
+	 * @param IAppData $appData
64 64
 	 * @param ICacheFactory $cacheFactory
65 65
 	 * @param Util $util
66 66
 	 */
Please login to merge, or discard this patch.
lib/private/Template/SCSSCacher.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -125,8 +125,6 @@
 block discarded – undo
125 125
 
126 126
 	/**
127 127
 	 * Check if the variables file has changed
128
-	 * @param string $fileNameCSS
129
-	 * @param ISimpleFolder $folder
130 128
 	 * @return bool
131 129
 	 */
132 130
 	private function variablesChanged() {
Please login to merge, or discard this patch.