Passed
Push — master ( 4839bb...d0d077 )
by noitran
06:14 queued 03:50
created

helpers.php (1 issue)

1
<?php
2
3
declare(strict_types=1);
4
5
use Noitran\RQL\Services\RQLService;
6
7
if (! function_exists('rql')) {
8
    /**
9
     * Get default RQL service.
10
     *
11
     * @throws RuntimeException
12
     *
13
     * @return RQLService
14
     */
15
    function rql()
16
    {
17
        return app('rql');
0 ignored issues
show
Bug Best Practice introduced by
The expression return app('rql') also could return the type Illuminate\Contracts\Foundation\Application which is incompatible with the documented return type Noitran\RQL\Services\RQLService.
Loading history...
18
    }
19
}
20