Skip to content

Commit

Permalink
Merge pull request #63 from programmatordev/1.x
Browse files Browse the repository at this point in the history
Docs: Usage fixes
  • Loading branch information
andrepimpao authored Apr 2, 2024
2 parents 26d37c1 + 9eb9f3f commit a9ed4e6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ require_once 'vendor/autoload.php';
Simple usage looks like:

```php
use ProgrammatorDev\Validator\Rule;
use ProgrammatorDev\Validator\Validator;

// do this:
Expand Down
1 change: 0 additions & 1 deletion docs/01-get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ require_once 'vendor/autoload.php';
Simple usage looks like:

```php
use ProgrammatorDev\Validator\Rule;
use ProgrammatorDev\Validator\Validator;

// do this:
Expand Down
3 changes: 0 additions & 3 deletions docs/02-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ try {
catch (Exception\RangeException $exception) {
// do something when Range fails
}
catch (Exception\NotBlankException $exception) {
// do something when NotBlank fails
}
catch (Exception\ChoiceException $exception) {
// do something when Choice fails
}
Expand Down

0 comments on commit a9ed4e6

Please sign in to comment.