Issues (6)

src/VisitServiceProvider.php (1 issue)

1
<?php
2
3
namespace Hayrullah\LaravelVisits;
4
5
use Illuminate\Support\ServiceProvider;
6
7
/**
8
 * This file is part of Laravel Favorite,.
9
 *
10
 * @license MIT
11
 */
12
class VisitServiceProvider extends ServiceProvider
13
{
14
    /**
15
     * Bootstrap the application services.
16
     *
17
     * @return void
18
     */
19
    public function boot()
20
    {
21
        $this->publishes([
0 ignored issues
show
The method publishes() does not exist on Hayrullah\LaravelVisits\VisitServiceProvider. ( Ignorable by Annotation )

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

21
        $this->/** @scrutinizer ignore-call */ 
22
               publishes([

This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.

This is most likely a typographical error or the method has been renamed.

Loading history...
22
            __DIR__.'/../migrations/create_visits_table.php.stub' => database_path('migrations/'.date('Y_m_d_His').'_create_visits_table.php'),
23
        ], 'migrations');
24
    }
25
26
    /**
27
     * Register the application services.
28
     *
29
     * @return void
30
     */
31
    public function register()
32
    {
33
        // code...
34
    }
35
}
36