@@ -72,7 +72,7 @@ |
||
72 | 72 | 'adsense' |
73 | 73 | ); |
74 | 74 | |
75 | - $this->app->bind(AdsenseBuilder::class, function () { |
|
75 | + $this->app->bind(AdsenseBuilder::class, function() { |
|
76 | 76 | return new AdsenseBuilder(); |
77 | 77 | }); |
78 | 78 | } |
@@ -59,6 +59,6 @@ |
||
59 | 59 | */ |
60 | 60 | protected function getEnvironmentSetUp($app) |
61 | 61 | { |
62 | - $app['config']->set('view.paths', [__DIR__.'/stubs/views']); |
|
62 | + $app[ 'config' ]->set('view.paths', [ __DIR__.'/stubs/views' ]); |
|
63 | 63 | } |
64 | 64 | } |
@@ -43,7 +43,7 @@ |
||
43 | 43 | { |
44 | 44 | public function testAdsense() |
45 | 45 | { |
46 | - $return = $this->app->view->make('adsense::javascript')->render(); |
|
46 | + $return=$this->app->view->make('adsense::javascript')->render(); |
|
47 | 47 | $this->assertSame("<script async src=\"//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\"></script>\n<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>\n", $return); |
48 | 48 | } |
49 | 49 | } |