@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace Protoqol\Prequel\Http\Middleware; |
6 | 6 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace Protoqol\Prequel\Http\Controllers; |
6 | 6 | |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | { |
109 | 109 | $column = Route::current()->parameter('column'); |
110 | 110 | $value = Route::current()->parameter('value'); |
111 | - $queryType = Route::current()->parameter('type'); |
|
111 | + $queryType = Route::current()->parameter('type'); |
|
112 | 112 | |
113 | 113 | if ($queryType === 'LIKE') { |
114 | 114 | return $this->model |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace Protoqol\Prequel\Http\Controllers; |
6 | 6 |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | Route::namespace('Protoqol\Prequel\Http\Controllers') |
6 | 6 | ->middleware('Protoqol\Prequel\Http\Middleware\Authorised') |
7 | 7 | ->prefix(config('prequel.path')) |
8 | - ->group(function () { |
|
8 | + ->group(function() { |
|
9 | 9 | |
10 | 10 | /** |
11 | 11 | * Main view route |
@@ -16,8 +16,8 @@ discard block |
||
16 | 16 | /** |
17 | 17 | * API Routes. |
18 | 18 | */ |
19 | - Route::prefix('prequel-api')->group(function () { |
|
20 | - Route::prefix('database')->group(function () { |
|
19 | + Route::prefix('prequel-api')->group(function() { |
|
20 | + Route::prefix('database')->group(function() { |
|
21 | 21 | |
22 | 22 | // Get data from table, data includes structure, actual data and table name. |
23 | 23 | Route::get( |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace Protoqol\Prequel\Classes\Database; |
6 | 6 | |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | */ |
54 | 54 | public function getAll() :array |
55 | 55 | { |
56 | - $collection = []; |
|
56 | + $collection = []; |
|
57 | 57 | $flatTableCollection = []; |
58 | 58 | |
59 | 59 | foreach ($this->getAllDatabases() as $value) { |
@@ -53,7 +53,7 @@ |
||
53 | 53 | dirname(__DIR__) |
54 | 54 | .'/config/prequel.php' => config_path('prequel.php'), |
55 | 55 | ], |
56 | - 'config'); |
|
56 | + 'config'); |
|
57 | 57 | |
58 | 58 | $this->mergeConfigFrom( |
59 | 59 | dirname(__DIR__).'/config/prequel.php', |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * Protoqol\Prequel\PrequelServiceProvider |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | |
32 | 32 | $this->app->singleton( |
33 | 33 | DatabaseTraverser::class, |
34 | - function () { |
|
34 | + function() { |
|
35 | 35 | return new DatabaseTraverser(); |
36 | 36 | } |
37 | 37 | ); |