Passed
Push — master ( fe5faa...6787e9 )
by Justin
12:36 queued 06:21
created
plugins/facebookfeed/classes/feedapi.php 2 patches
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -31,22 +31,22 @@
 block discarded – undo
31 31
 
32 32
 class FeedApi {
33 33
 
34
-	public static function listFBFeeds () : array {
35
-		$res = array();
36
-
37
-		//load preferences
38
-		$prefs = new Preferences("plugin_facebookfeed");
39
-
40
-		//first check, if pageID is set
41
-		if (empty($prefs->get("pageID", ""))) {
42
-			return array(
43
-				'error' => "No pageID was set in preferences (plugin settings)",
44
-				"status" => 500
45
-			);
46
-		}
47
-
48
-		return $res;
49
-	}
34
+    public static function listFBFeeds () : array {
35
+        $res = array();
36
+
37
+        //load preferences
38
+        $prefs = new Preferences("plugin_facebookfeed");
39
+
40
+        //first check, if pageID is set
41
+        if (empty($prefs->get("pageID", ""))) {
42
+            return array(
43
+                'error' => "No pageID was set in preferences (plugin settings)",
44
+                "status" => 500
45
+            );
46
+        }
47
+
48
+        return $res;
49
+    }
50 50
 
51 51
 }
52 52
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 
32 32
 class FeedApi {
33 33
 
34
-	public static function listFBFeeds () : array {
34
+	public static function listFBFeeds() : array {
35 35
 		$res = array();
36 36
 
37 37
 		//load preferences
Please login to merge, or discard this patch.