Completed
Push — master ( 355fa6...9e640b )
by mains
02:30
created
php/Requests/SendJodel.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -1,26 +1,26 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 class SendJodel extends AbstractRequest {
4
-    public $location;
5
-    public $ancestor = "";
6
-    public $color = "";
4
+	public $location;
5
+	public $ancestor = "";
6
+	public $color = "";
7 7
     
8
-    function getApiEndPoint()
9
-    {
10
-        return '/v3/posts/';
11
-    }
8
+	function getApiEndPoint()
9
+	{
10
+		return '/v3/posts/';
11
+	}
12 12
 
13
-    function getPayload()
14
-    {
15
-        return array(
13
+	function getPayload()
14
+	{
15
+		return array(
16 16
 			"ancestor" => $this->ancestor,
17 17
 			"color" => $this->color,
18
-            "location" => $this->location->toArray(),
19
-            "message" => $_POST['message'],
20
-        );
21
-    }
22
-    function getMethod()
23
-    {
24
-        return 'POST';
25
-    }
18
+			"location" => $this->location->toArray(),
19
+			"message" => $_POST['message'],
20
+		);
21
+	}
22
+	function getMethod()
23
+	{
24
+		return 'POST';
25
+	}
26 26
 }
Please login to merge, or discard this patch.