Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e5ee6de

Browse files
Fixed di bug when make ip rules.
1 parent d9ac97f commit e5ee6de

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

‎CHANGELOG.md

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

33
Tất cả lịch sử tiến trình phát triển thư viện
44

5+
# 1.0.4
6+
7+
- Sửa lỗi DI khi khởi tạo ip rules.
8+
59
# 1.0.3
610

711
- Sửa lỗi lazy load service provider đè lên thư viện.

‎src/ServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ protected function getCallableRules(): array
5050
'mobile_vn' => $this->app->make(MobileVN::class),
5151
'id_vn' => $this->app->make(IdVN::class),
5252
'ip_vn' => $this->app->make(IpVN::class),
53-
'ipv4_vn' => $this->app->make(IpVN::class, [IpVN::IPV4]),
54-
'ipv6_vn' => $this->app->make(IpVN::class, [IpVN::IPV6]),
53+
'ipv4_vn' => $this->app->make(IpVN::class, ['version' => IpVN::IPV4]),
54+
'ipv6_vn' => $this->app->make(IpVN::class, ['version' => IpVN::IPV6]),
5555
];
5656
}
5757
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /