Test Failed
Pull Request — master (#58)
by
unknown
03:22
created
src/Providers/OpenGraphProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      */
24 24
     public function register()
25 25
     {
26
-        $this->app->bind('OpenGraph', function () {
26
+        $this->app->bind('OpenGraph', function() {
27 27
             return new \shweshi\OpenGraph\OpenGraph();
28 28
         });
29 29
     }
Please login to merge, or discard this patch.
src/OpenGraph.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,9 +75,9 @@
 block discarded – undo
75 75
         ]);
76 76
 
77 77
         $response = curl_exec($curl);
78
-        if (curl_errno($curl)!==0){
78
+        if (curl_errno($curl) !== 0) {
79 79
             $message = curl_error($curl);
80
-            throw new FetchException ($message,curl_errno($curl), null, curl_getinfo($curl));
80
+            throw new FetchException($message, curl_errno($curl), null, curl_getinfo($curl));
81 81
         }
82 82
 
83 83
         curl_close($curl);
Please login to merge, or discard this patch.