1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | namespace Noitran\RQL { |
||
6 | use Noitran\RQL\Exceptions\RuntimeException; |
||
7 | use Noitran\RQL\Services\RQLService; |
||
8 | |||
9 | if (! \function_exists('rql')) { |
||
10 | /** |
||
11 | * Get default RQL service. |
||
12 | * |
||
13 | * @throws RuntimeException |
||
14 | * |
||
15 | * @return RQLService |
||
16 | */ |
||
17 | function rql() |
||
18 | { |
||
19 | return app('rql'); |
||
0 ignored issues
–
show
Bug
Best Practice
introduced
by
![]() |
|||
20 | } |
||
21 | } |
||
22 | } |
||
23 |