@@ -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 | } |
@@ -12,8 +12,8 @@ discard block |
||
12 | 12 | { |
13 | 13 | $o = new OpenGraph(); |
14 | 14 | $data = $o->fetch( |
15 | - 'https://www.unsplash.com/' |
|
16 | - ); |
|
15 | + 'https://www.unsplash.com/' |
|
16 | + ); |
|
17 | 17 | $this->assertArrayHasKey('title', $data); |
18 | 18 | $this->assertArrayHasKey('description', $data); |
19 | 19 | $this->assertArrayHasKey('type', $data); |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | $o = new OpenGraph(); |
28 | 28 | $data = $o->fetch( |
29 | 29 | 'https://www.example.com/' |
30 | - ); |
|
30 | + ); |
|
31 | 31 | |
32 | 32 | $this->assertEmpty($data); |
33 | 33 | } |