ServiceProviderForLaravel4   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 9
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A register() 0 2 1
A boot() 0 3 1
1
<?php
2
3
namespace Sarahman\HttpRequestApiLog;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class ServiceProviderForLaravel4 extends ServiceProvider
8
{
9
    public function boot()
10
    {
11
        $this->package('sarahman/laravel-http-request-api-log', null, __DIR__);
0 ignored issues
show
Bug introduced by
The method package() does not exist on Sarahman\HttpRequestApiL...viceProviderForLaravel4. Since you implemented __call, consider adding a @method annotation. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

11
        $this->/** @scrutinizer ignore-call */ 
12
               package('sarahman/laravel-http-request-api-log', null, __DIR__);
Loading history...
12
    }
13
14
    public function register()
15
    {
16
        // We have nothing to register here
17
    }
18
}
19