Passed
Pull Request — master (#79)
by
unknown
03:44
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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         
31 31
         if ($allMeta && !empty($doc->getElementsByTagName('title'))) {
32 32
             $title = $doc->getElementsByTagName('title');
33
-            $metadata['title'] = $title->length > 0 ? $title->item(0)->textContent : null ;
33
+            $metadata['title'] = $title->length > 0 ? $title->item(0)->textContent : null;
34 34
         }
35 35
         
36 36
         foreach ($tags as $tag) {
Please login to merge, or discard this patch.