@@ -6,13 +6,13 @@ |
||
6 | 6 | |
7 | 7 | class LaravelCrawlerDetect extends Facade |
8 | 8 | { |
9 | - /** |
|
10 | - * Get the registered name of the component. |
|
11 | - * |
|
12 | - * @return string |
|
13 | - */ |
|
14 | - protected static function getFacadeAccessor() |
|
15 | - { |
|
16 | - return 'LaravelCrawlerDetect'; |
|
17 | - } |
|
9 | + /** |
|
10 | + * Get the registered name of the component. |
|
11 | + * |
|
12 | + * @return string |
|
13 | + */ |
|
14 | + protected static function getFacadeAccessor() |
|
15 | + { |
|
16 | + return 'LaravelCrawlerDetect'; |
|
17 | + } |
|
18 | 18 | } |
@@ -6,42 +6,42 @@ |
||
6 | 6 | |
7 | 7 | class LaravelCrawlerDetectServiceProvider extends ServiceProvider |
8 | 8 | { |
9 | - /** |
|
10 | - * Indicates if loading of the provider is deferred. |
|
11 | - * |
|
12 | - * @var bool |
|
13 | - */ |
|
14 | - protected $defer = false; |
|
9 | + /** |
|
10 | + * Indicates if loading of the provider is deferred. |
|
11 | + * |
|
12 | + * @var bool |
|
13 | + */ |
|
14 | + protected $defer = false; |
|
15 | 15 | |
16 | - /** |
|
17 | - * Bootstrap the application events. |
|
18 | - * |
|
19 | - * @return void |
|
20 | - */ |
|
21 | - public function boot() |
|
22 | - { |
|
23 | - //$this->package('Jaybizzle/LaravelCrawlerDetect'); |
|
24 | - } |
|
16 | + /** |
|
17 | + * Bootstrap the application events. |
|
18 | + * |
|
19 | + * @return void |
|
20 | + */ |
|
21 | + public function boot() |
|
22 | + { |
|
23 | + //$this->package('Jaybizzle/LaravelCrawlerDetect'); |
|
24 | + } |
|
25 | 25 | |
26 | - /** |
|
27 | - * Register the service provider. |
|
28 | - * |
|
29 | - * @return void |
|
30 | - */ |
|
31 | - public function register() |
|
32 | - { |
|
33 | - $this->app->singleton('LaravelCrawlerDetect', function ($app) { |
|
34 | - return new \Jaybizzle\CrawlerDetect\CrawlerDetect(); |
|
35 | - }); |
|
36 | - } |
|
26 | + /** |
|
27 | + * Register the service provider. |
|
28 | + * |
|
29 | + * @return void |
|
30 | + */ |
|
31 | + public function register() |
|
32 | + { |
|
33 | + $this->app->singleton('LaravelCrawlerDetect', function ($app) { |
|
34 | + return new \Jaybizzle\CrawlerDetect\CrawlerDetect(); |
|
35 | + }); |
|
36 | + } |
|
37 | 37 | |
38 | - /** |
|
39 | - * Get the services provided by the provider. |
|
40 | - * |
|
41 | - * @return array |
|
42 | - */ |
|
43 | - public function provides() |
|
44 | - { |
|
45 | - return []; |
|
46 | - } |
|
38 | + /** |
|
39 | + * Get the services provided by the provider. |
|
40 | + * |
|
41 | + * @return array |
|
42 | + */ |
|
43 | + public function provides() |
|
44 | + { |
|
45 | + return []; |
|
46 | + } |
|
47 | 47 | } |
@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | public function register() |
32 | 32 | { |
33 | - $this->app->singleton('LaravelCrawlerDetect', function ($app) { |
|
33 | + $this->app->singleton('LaravelCrawlerDetect', function($app) { |
|
34 | 34 | return new \Jaybizzle\CrawlerDetect\CrawlerDetect(); |
35 | 35 | }); |
36 | 36 | } |