Test Setup Failed
Push — master ( 698635...8c1479 )
by Jeremy
05:28 queued 12s
created

tests/TestCase.php (3 issues)

1
<?php
2
3
namespace jeremykenedy\LaravelRoles\Test;
4
5
use jeremykenedy\LaravelRoles\RolesFacade;
6
use jeremykenedy\LaravelRoles\RolesServiceProvider;
7
use Orchestra\Testbench\TestCase as OrchestraTestCase;
8
9
class TestCase extends OrchestraTestCase
10
{
11
    /**
12
     * Load package service provider.
13
     *
14
     * @param \Illuminate\Foundation\Application $app
15
     *
16
     * @return jeremykenedy\LaravelRoles\RolesServiceProvider
0 ignored issues
show
The type jeremykenedy\LaravelRole...es\RolesServiceProvider was not found. Did you mean jeremykenedy\LaravelRoles\RolesServiceProvider? If so, make sure to prefix the type with \.
Loading history...
17
     */
18
    protected function getPackageProviders($app): void
19
    {
20
        return [RolesServiceProvider::class];
0 ignored issues
show
Bug Best Practice introduced by
The expression return array(jeremykened...ServiceProvider::class) returns the type array<integer,string> which is incompatible with the type-hinted return void.
Loading history...
21
    }
22
23
    /**
24
     * Load package alias.
25
     *
26
     * @param \Illuminate\Foundation\Application $app
27
     *
28
     * @return array
29
     */
30
    protected function getPackageAliases($app): void
31
    {
32
        return [
0 ignored issues
show
Bug Best Practice introduced by
The expression return array('laravelrol...les\RolesFacade::class) returns the type array<string,string> which is incompatible with the type-hinted return void.
Loading history...
33
            'laravelroles' => RolesFacade::class,
34
        ];
35
    }
36
}
37