File tree Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,6 @@ N2W::toWords(15);
207207
208208## Dành cho nhà phát triển
209209
210- Nếu như bạn cảm thấy extension còn thiếu sót hoặc sai sót và bạn muốn đóng góp để phát triển chung,
211- chúng tôi rất hoan nghênh! Hãy tạo các ` issue ` để đóng góp ý tưởng cho phiên bản kế tiếp
210+ Nếu như bạn cảm thấy extension còn thiếu sót hoặc sai sót và bạn muốn đóng góp để phát triển chung,
211+ chúng tôi rất hoan nghênh! Hãy tạo các ` issue ` để đóng góp ý tưởng cho phiên bản kế tiếp
212212hoặc tạo ` PR ` để đóng góp. Cảm ơn!
Original file line number Diff line number Diff line change 1515 ],
1616 "require" : {
1717 "phpviet/number-to-words" : " ^1.2" ,
18- "illuminate/support" : " ^8.39 "
18+ "illuminate/support" : " ^6.0 || ^7.0 || ^8.0 "
1919 },
2020 "require-dev" : {
21- "orchestra/testbench" : " ^6.17 "
21+ "orchestra/testbench" : " ^4.0 || ^5.0 || ^6.0 "
2222 },
2323 "autoload" : {
2424 "files" : [
Original file line number Diff line number Diff line change 88
99namespace PHPViet \Laravel \NumberToWords ;
1010
11- use Illuminate \Contracts \Support \DeferrableProvider ;
1211use Illuminate \Support \ServiceProvider as BaseServiceProvider ;
1312use PHPViet \NumberToWords \Dictionary ;
1413use PHPViet \NumberToWords \DictionaryInterface ;
1817 * @author Vuong Minh <vuongxuongminh@gmail.com>
1918 * @since 1.0.0
2019 */
21- class ServiceProvider extends BaseServiceProvider implements DeferrableProvider
20+ class ServiceProvider extends BaseServiceProvider
2221{
2322 public $ bindings = [
2423 'n2w ' => Transformer::class,
@@ -41,9 +40,4 @@ public function register(): void
4140 {
4241 $ this ->mergeConfigFrom (__DIR__ .'/../config/n2w.php ' , 'n2w ' );
4342 }
44-
45- public function provides (): array
46- {
47- return ['n2w ' ];
48- }
4943}
You can’t perform that action at this time.
0 commit comments