Completed
Pull Request — master (#39)
by Olivier
08:23 queued 38s
created
controller/pagecontroller.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * ownCloud - galleryplus
4
- *
5
- * This file is licensed under the Affero General Public License version 3 or
6
- * later. See the COPYING file.
7
- *
8
- * @author Robin Appelman <[email protected]>
9
- * @author Olivier Paroz <[email protected]>
10
- *
11
- * @copyright Robin Appelman 2012-2015
12
- * @copyright Olivier Paroz 2014-2015
13
- */
3
+	 * ownCloud - galleryplus
4
+	 *
5
+	 * This file is licensed under the Affero General Public License version 3 or
6
+	 * later. See the COPYING file.
7
+	 *
8
+	 * @author Robin Appelman <[email protected]>
9
+	 * @author Olivier Paroz <[email protected]>
10
+	 *
11
+	 * @copyright Robin Appelman 2012-2015
12
+	 * @copyright Olivier Paroz 2014-2015
13
+	 */
14 14
 
15 15
 namespace OCA\GalleryPlus\Controller;
16 16
 
Please login to merge, or discard this patch.
config/configvalidator.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * ownCloud - galleryplus
4
- *
5
- * This file is licensed under the Affero General Public License version 3 or
6
- * later. See the COPYING file.
7
- *
8
- * @author Olivier Paroz <[email protected]>
9
- *
10
- * @copyright Olivier Paroz 2015
11
- */
3
+	 * ownCloud - galleryplus
4
+	 *
5
+	 * This file is licensed under the Affero General Public License version 3 or
6
+	 * later. See the COPYING file.
7
+	 *
8
+	 * @author Olivier Paroz <[email protected]>
9
+	 *
10
+	 * @copyright Olivier Paroz 2015
11
+	 */
12 12
 
13 13
 namespace OCA\GalleryPlus\Service;
14 14
 
Please login to merge, or discard this 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.