Completed
Pull Request — master (#28)
by rugk
04:01
created
samples/web/include/GetPost.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author rugk
4
- * @copyright Copyright (c) 2015-2016 rugk
5
- * @license MIT
6
- */
3
+	 * @author rugk
4
+	 * @copyright Copyright (c) 2015-2016 rugk
5
+	 * @license MIT
6
+	 */
7 7
 
8 8
 /**
9 9
  * Returns the parameter from GET (preferred) or POST.
@@ -13,12 +13,12 @@  discard block
 block discarded – undo
13 13
  */
14 14
 function ReturnGetPost($name)
15 15
 {
16
-    if (isset($_GET[$name])) {
17
-        return $_GET[$name];
18
-    }
19
-    if (isset($_POST[$name])) {
20
-        return $_POST[$name];
21
-    }
16
+	if (isset($_GET[$name])) {
17
+		return $_GET[$name];
18
+	}
19
+	if (isset($_POST[$name])) {
20
+		return $_POST[$name];
21
+	}
22 22
 
23
-    return null;
23
+	return null;
24 24
 }
Please login to merge, or discard this patch.
samples/web/include/GlobalConstants.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author rugk
4
- * @copyright Copyright (c) 2015-2016 rugk
5
- * @license MIT
6
- */
3
+	 * @author rugk
4
+	 * @copyright Copyright (c) 2015-2016 rugk
5
+	 * @license MIT
6
+	 */
7 7
 
8 8
 /* CONSTANTS */
9 9
 const FILENAME_CONNCRED = 'ConnectionCredentials.php';
Please login to merge, or discard this patch.