Skip to content

Commit 6b7b227

Browse files
authored
Renamed the namespace about macroable component. (#4166)
1 parent 78e03de commit 6b7b227

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"hyperf/di": "~2.2.0",
2626
"hyperf/framework": "~2.2.0",
2727
"hyperf/http-server": "~2.2.0",
28+
"hyperf/macroable": "~2.2.0",
2829
"hyperf/translation": "~2.2.0",
2930
"hyperf/utils": "~2.2.0",
3031
"nesbot/carbon": "^2.21",

src/Rule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
*/
1212
namespace Hyperf\Validation;
1313

14+
use Hyperf\Macroable\Macroable;
1415
use Hyperf\Utils\Contracts\Arrayable;
15-
use Hyperf\Utils\Traits\Macroable;
1616

1717
class Rule
1818
{

0 commit comments

Comments
 (0)