Skip to content

Commit d898281

Browse files
committed
docs: upgrade to the v2.0.6 version
Closes #22
1 parent dea9531 commit d898281

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/lang/es-ES/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function get(): array;
8282
Obtiene la ruta o URL del archivo JSON.
8383

8484
```php
85-
public function getFilepath(): string;
85+
public function filepath(): string;
8686
```
8787

8888
Establecer el contenido del archivo JSON:
@@ -203,7 +203,7 @@ use Josantonius\Json\Json;
203203

204204
$json = new Json('file.json');
205205

206-
$json->getFilepath(); // 'file.json'
206+
$json->filepath(); // 'file.json'
207207
```
208208

209209
### Obtiene la URL del archivo JSON remoto
@@ -215,7 +215,7 @@ use Josantonius\Json\Json;
215215

216216
$json = new Json('https://example.com/file.json');
217217

218-
$json->getFilepath(); // 'https://example.com/file.json'
218+
$json->filepath(); // 'https://example.com/file.json'
219219
```
220220

221221
### Establecer una matriz vacía en el contenido del archivo JSON

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function get(): array;
8282
Get the path or URL of the JSON file.
8383

8484
```php
85-
public function getFilepath(): string;
85+
public function filepath(): string;
8686
```
8787

8888
Set the content of the JSON file:
@@ -203,7 +203,7 @@ use Josantonius\Json\Json;
203203

204204
$json = new Json('file.json');
205205

206-
$json->getFilepath(); // 'file.json'
206+
$json->filepath(); // 'file.json'
207207
```
208208

209209
### Get the URL of the remote JSON file
@@ -215,7 +215,7 @@ use Josantonius\Json\Json;
215215

216216
$json = new Json('https://example.com/file.json');
217217

218-
$json->getFilepath(); // 'https://example.com/file.json'
218+
$json->filepath(); // 'https://example.com/file.json'
219219
```
220220

221221
### Set an empty array in the JSON file contents

0 commit comments

Comments
 (0)