@@ -23,7 +23,7 @@ |
||
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 | } |
@@ -14,7 +14,7 @@ |
||
14 | 14 | * parsing starts here:. |
15 | 15 | */ |
16 | 16 | $doc = new DOMDocument(); |
17 | - @$doc->loadHTML('<?xml encoding="utf-8" ?>' .$html); |
|
17 | + @$doc->loadHTML('<?xml encoding="utf-8" ?>'.$html); |
|
18 | 18 | |
19 | 19 | $tags = $doc->getElementsByTagName('meta'); |
20 | 20 | $metadata = []; |