Skip to content

Commit 6fabb8a

Browse files
author
Vladimir Mikhav
committed
fix: fix missing config
1 parent fa02ea2 commit 6fabb8a

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

publish/core.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
return [
6+
'user_model' => \App\User\Model\User::class,
7+
];

src/ConfigProvider.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __invoke(): array
2525
],
2626
'publish' => [
2727
[
28-
'id' => 'config',
28+
'id' => 'anonymization',
2929
'description' => 'The config for anonymization from onix-systems-php/hyperf-core.',
3030
'source' => __DIR__ . '/../publish/anonymization.php',
3131
'destination' => BASE_PATH . '/config/autoload/anonymization.php',
@@ -36,6 +36,12 @@ public function __invoke(): array
3636
'source' => __DIR__ . '/../publish/swagger.php',
3737
'destination' => BASE_PATH . '/config/autoload/swagger.php',
3838
],
39+
[
40+
'id' => 'core',
41+
'description' => 'The config for onix-systems-php/hyperf-core.',
42+
'source' => __DIR__ . '/../publish/core.php',
43+
'destination' => BASE_PATH . '/config/autoload/core.php',
44+
],
3945
],
4046
];
4147
}

0 commit comments

Comments
 (0)