Passed
Push — master ( 70c8fa...dac2c3 )
by noitran
09:31
created

helpers.php (1 issue)

1
<?php
2
3
namespace {
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
}
21