We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e50ee7 commit ea7d9a1Copy full SHA for ea7d9a1
index.php
@@ -12,10 +12,6 @@
12
use RobiNN\Pca\Http;
13
use RobiNN\Pca\Template;
14
15
-if (PHP_VERSION_ID < 80200) {
16
- exit('<strong>PHP >= 8.2 is required.</strong><br>The current version of php is: '.PHP_VERSION);
17
-}
18
-
19
// Always display errors
20
ini_set('display_errors', 'On');
21
ini_set('display_startup_errors', 'On');
@@ -45,7 +41,7 @@
45
41
$tpl = new Template();
46
42
$admin = new Admin($tpl);
47
43
48
-$nav = array_map(static fn ($d_dashboard) => $d_dashboard->dashboardInfo(), $admin->dashboards);
44
+$nav = array_map(static fn ($d_dashboard): array => $d_dashboard->dashboardInfo(), $admin->dashboards);
49
50
$current = $admin->currentDashboard();
51
$dashboard = $admin->getDashboard($current);
0 commit comments