Skip to content

Commit e442e0c

Browse files
committed
Merge branch 'main' of github.com:mevdschee/php-crud-admin into main
2 parents 896b91f + 60b6d05 commit e442e0c

File tree

3 files changed

+82
-30
lines changed

3 files changed

+82
-30
lines changed

admin.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12412,17 +12412,17 @@ public function getTemplatePath(): string
1241212412
// file: src/index.php
1241312413
namespace Tqdev\PhpCrudAdmin {
1241412414

12415+
use Tqdev\PhpCrudAdmin\Admin;
12416+
use Tqdev\PhpCrudAdmin\Config;
1241512417
use Tqdev\PhpCrudApi\RequestFactory;
1241612418
use Tqdev\PhpCrudApi\ResponseUtils;
12417-
use Tqdev\PhpCrudAdmin\Config;
12418-
use Tqdev\PhpCrudAdmin\Admin;
1241912419

1242012420
$config = new Config([
1242112421
'api' => [
1242212422
'username' => 'php-crud-api',
1242312423
'password' => 'php-crud-api',
1242412424
'database' => 'php-crud-api',
12425-
'controllers' => 'columns'
12425+
'controllers' => 'columns',
1242612426
],
1242712427
'templatePath' => '../templates',
1242812428
]);

composer.lock

Lines changed: 76 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
namespace Tqdev\PhpCrudAdmin;
44

5+
use Tqdev\PhpCrudAdmin\Admin;
6+
use Tqdev\PhpCrudAdmin\Config;
57
use Tqdev\PhpCrudApi\RequestFactory;
68
use Tqdev\PhpCrudApi\ResponseUtils;
7-
use Tqdev\PhpCrudAdmin\Config;
8-
use Tqdev\PhpCrudAdmin\Admin;
99

1010
require '../vendor/autoload.php';
1111

@@ -14,7 +14,7 @@
1414
'username' => 'php-crud-api',
1515
'password' => 'php-crud-api',
1616
'database' => 'php-crud-api',
17-
'controllers' => 'columns'
17+
'controllers' => 'columns',
1818
],
1919
'templatePath' => '../templates',
2020
]);

0 commit comments

Comments
 (0)