Completed
Pull Request — master (#39)
by Olivier
08:23 queued 38s
created
controller/pagecontroller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
 	/**
191 191
 	 * Shows the albums and pictures the token gives access to
192 192
 	 *
193
-	 * @param $token
193
+	 * @param string $token
194 194
 	 *
195 195
 	 * @return TemplateResponse
196 196
 	 */
Please login to merge, or discard this patch.
service/searchfolderservice.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
 	}
98 98
 
99 99
 	/**
100
-	 * @param $depth
100
+	 * @param integer $depth
101 101
 	 *
102 102
 	 * @return bool
103 103
 	 */
Please login to merge, or discard this patch.
appinfo/app.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
  */
26 26
 $c->query('OCP\INavigationManager')
27 27
   ->add(
28
-	  function () use ($c, $appName) {
28
+	  function() use ($c, $appName) {
29 29
 		  $urlGenerator = $c->query('OCP\IURLGenerator');
30 30
 		  $l10n = $c->query('OCP\IL10N');
31 31
 
Please login to merge, or discard this patch.
config/configvalidator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@  discard block
 block discarded – undo
32 32
 
33 33
 		switch ($key) {
34 34
 			case 'sorting':
35
-				$safe = $this->isSortingSafe('type',$parsedConfigItem, $safe);
36
-				$safe = $this->isSortingSafe('order',$parsedConfigItem, $safe);
35
+				$safe = $this->isSortingSafe('type', $parsedConfigItem, $safe);
36
+				$safe = $this->isSortingSafe('order', $parsedConfigItem, $safe);
37 37
 				break;
38 38
 			case 'design':
39 39
 				$safe = $this->isDesignColourSafe($parsedConfigItem, $safe);
@@ -50,9 +50,9 @@  discard block
 block discarded – undo
50 50
 	 * @param bool $safe whether the current config has been deemed safe to use so far
51 51
 	 * @return bool
52 52
 	 */
53
-	private function isSortingSafe($key,$parsedConfigItem, $safe) {
53
+	private function isSortingSafe($key, $parsedConfigItem, $safe) {
54 54
 		if ($safe && array_key_exists($key, $parsedConfigItem)) {
55
-			$safe = $safe && $this->sortingValidator($key, $parsedConfigItem[ $key ]);
55
+			$safe = $safe && $this->sortingValidator($key, $parsedConfigItem[$key]);
56 56
 		}
57 57
 
58 58
 		return $safe;
Please login to merge, or discard this patch.