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);
207
207
208
208
## Dành cho nhà phát triển
209
209
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
212
212
hoặc tạo ` PR ` để đóng góp. Cảm ơn!
Original file line number Diff line number Diff line change 15
15
],
16
16
"require" : {
17
17
"phpviet/number-to-words" : " ^1.2" ,
18
- "illuminate/support" : " ^8.39 "
18
+ "illuminate/support" : " ^6.0 || ^7.0 || ^8.0 "
19
19
},
20
20
"require-dev" : {
21
- "orchestra/testbench" : " ^6.17 "
21
+ "orchestra/testbench" : " ^4.0 || ^5.0 || ^6.0 "
22
22
},
23
23
"autoload" : {
24
24
"files" : [
Original file line number Diff line number Diff line change 8
8
9
9
namespace PHPViet \Laravel \NumberToWords ;
10
10
11
- use Illuminate \Contracts \Support \DeferrableProvider ;
12
11
use Illuminate \Support \ServiceProvider as BaseServiceProvider ;
13
12
use PHPViet \NumberToWords \Dictionary ;
14
13
use PHPViet \NumberToWords \DictionaryInterface ;
18
17
* @author Vuong Minh <[email protected] >
19
18
* @since 1.0.0
20
19
*/
21
- class ServiceProvider extends BaseServiceProvider implements DeferrableProvider
20
+ class ServiceProvider extends BaseServiceProvider
22
21
{
23
22
public $ bindings = [
24
23
'n2w ' => Transformer::class,
@@ -41,9 +40,4 @@ public function register(): void
41
40
{
42
41
$ this ->mergeConfigFrom (__DIR__ .'/../config/n2w.php ' , 'n2w ' );
43
42
}
44
-
45
- public function provides (): array
46
- {
47
- return ['n2w ' ];
48
- }
49
43
}
You can’t perform that action at this time.
0 commit comments