@@ -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 | require_once './src/ManageUltimateMenu.php'; |
6 | 6 | require_once './src/Subs-UltimateMenu.php'; |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | ]; |
25 | 25 | $modSettings = ['lastActive' => 0, 'settings_updated' => 0, 'postmod_active' => false]; |
26 | 26 | |
27 | -$smcFunc['db_query'] = function ($name, $query, $args) |
|
27 | +$smcFunc['db_query'] = function($name, $query, $args) |
|
28 | 28 | { |
29 | 29 | global $current_item, $modSettings; |
30 | 30 | |
@@ -35,22 +35,22 @@ discard block |
||
35 | 35 | |
36 | 36 | return [['']]; |
37 | 37 | }; |
38 | -$smcFunc['db_fetch_assoc'] = function ($request) |
|
38 | +$smcFunc['db_fetch_assoc'] = function($request) |
|
39 | 39 | { |
40 | 40 | global $current_item; |
41 | 41 | |
42 | 42 | return $request[$current_item++] ?? null; |
43 | 43 | }; |
44 | -$smcFunc['db_fetch_row'] = function ($request) |
|
44 | +$smcFunc['db_fetch_row'] = function($request) |
|
45 | 45 | { |
46 | 46 | global $current_item; |
47 | 47 | |
48 | 48 | return $request[$current_item++] ?? null; |
49 | 49 | }; |
50 | -$smcFunc['db_free_result'] = function (): void |
|
50 | +$smcFunc['db_free_result'] = function(): void |
|
51 | 51 | { |
52 | 52 | }; |
53 | -$smcFunc['db_insert'] = function (): void |
|
53 | +$smcFunc['db_insert'] = function(): void |
|
54 | 54 | { |
55 | 55 | }; |
56 | 56 | require_once './vendor/simplemachines/smf2.1/Sources/Load.php'; |