Skip to content

Commit 6cbd2bd

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

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ Establecer el contenido del archivo JSON:
9090
```php
9191
/**
9292
* @throws CreateFileException if there is an error when creating a file.
93+
* @throws CreateDirectoryException if the directory cannot be created.
9394
* @throws UnavailableMethodException if the method is not available.
9495
*/
9596
public function set(array|object $content = []): void;
@@ -120,9 +121,10 @@ public function push(array|object $content): array;
120121
## Excepciones utilizadas
121122

122123
```php
123-
use Josantonius\Json\Exceptions\CreateFileException;
124124
use Josantonius\Json\Exceptions\GetFileException;
125+
use Josantonius\Json\Exceptions\CreateFileException;
125126
use Josantonius\Json\Exceptions\JsonErrorException;
127+
use Josantonius\Json\Exceptions\CreateDirectoryException;
126128
use Josantonius\Json\Exceptions\UnavailableMethodException;
127129
```
128130

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ Set the content of the JSON file:
9090
```php
9191
/**
9292
* @throws CreateFileException if there is an error when creating a file.
93+
* @throws CreateDirectoryException if the directory cannot be created.
9394
* @throws UnavailableMethodException if the method is not available.
9495
*/
9596
public function set(array|object $content = []): void;
@@ -120,9 +121,10 @@ public function push(array|object $content): array;
120121
## Exceptions Used
121122

122123
```php
123-
use Josantonius\Json\Exceptions\CreateFileException;
124124
use Josantonius\Json\Exceptions\GetFileException;
125+
use Josantonius\Json\Exceptions\CreateFileException;
125126
use Josantonius\Json\Exceptions\JsonErrorException;
127+
use Josantonius\Json\Exceptions\CreateDirectoryException;
126128
use Josantonius\Json\Exceptions\UnavailableMethodException;
127129
```
128130

0 commit comments

Comments
 (0)