Passed
Branch master (c39d35)
by Prabath
01:36
created
src/Adapter/FacebookAdapter.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
                 'app_secret' => $this->app_secret,
45 45
                 'default_graph_version' => $this->default_graph_version,
46 46
             ]);
47
-        }catch (FacebookSDKException $ex){
47
+        } catch (FacebookSDKException $ex){
48 48
             throw new SocialException(self::class, $ex->getMessage());
49 49
         }
50 50
     }
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         if(count($post->getAttachments()) > 0){
63 63
             try{
64 64
                 $data["attached_media[{$a}]"] = $this->upload_attachments($post->getAttachments());
65
-            }catch (FacebookSDKException $ex){
65
+            } catch (FacebookSDKException $ex){
66 66
                 throw new SocialException(self::class, $ex->getMessage());
67 67
             }
68 68
         }
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         try{
71 71
             $response = $this->client->post("{$this->page_id}/feed", $data, $this->access_token);
72 72
             $id = $response->getGraphNode()->getField('id', null);
73
-        }catch (FacebookSDKException $ex){
73
+        } catch (FacebookSDKException $ex){
74 74
             throw new SocialException(self::class, $ex->getMessage());
75 75
         }
76 76
 
Please login to merge, or discard this patch.