Skip to content

Commit ad3236e

Browse files
update
1 parent 3489705 commit ad3236e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ NumberToWords::cents(true)
7676
```
7777

7878
### Number
79-
- Takes two param as `int\|float\|string` and [optional] cents as `boolean`
79+
- Takes two param as `int | float | string` and [optional] cents as `boolean`
8080
- If you do not want to call the cents method, then we can call it directly here
8181

8282
```
@@ -109,7 +109,7 @@ TameZip()->unzip('newData.zip', '/public/zip')
109109
```
110110

111111
### Download
112-
- Takes two param as `string \| boolean`
112+
- Takes two param as `string | boolean`
113113
- [fileName] relative path of zip-file
114114
- [unlink] Default is `true` unlinks file after download
115115

@@ -138,12 +138,12 @@ Visit the Tests/ folder to see more examples.
138138
### Set
139139
- Takes `7 param`
140140
- Mandatory `$name` param as `string`
141-
- [optional] `$value` param as `string \| null`
142-
- [optional] `$minutes` param as `int \| string`
143-
- [optional] `$path` param as `string \| null`
144-
- [optional] `$domain` param as `string \| null`
145-
- [optional] `$secure` param as `bool \| null`
146-
- [optional] `$httponly` param as `bool \| null`
141+
- [optional] `$value` param as `string | null`
142+
- [optional] `$minutes` param as `int | string`
143+
- [optional] `$path` param as `string | null`
144+
- [optional] `$domain` param as `string | null`
145+
- [optional] `$secure` param as `bool | null`
146+
- [optional] `$httponly` param as `bool | null`
147147

148148
```
149149
Cookie::set('cookie_name', 'value');
@@ -159,8 +159,8 @@ Cookie::get('cookie_name');
159159
### Forget
160160
- Takes `3 param`
161161
- Mandatory `$name` param as `string`
162-
- [optional] `$path` param as `string \| null`
163-
- [optional] `$domain` param as `string \| null`
162+
- [optional] `$path` param as `string | null`
163+
- [optional] `$domain` param as `string | null`
164164

165165
```
166166
Cookie::forget('cookie_name');

0 commit comments

Comments
 (0)