Skip to content

Commit

Permalink
Correcting compatibility with vertigolabs/data-aware
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimz22 committed Oct 4, 2021
1 parent 5d17b09 commit 9315fdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vertigolabs/validation-aware",
"description": "validation aware traits",
"version": "1.0.0",
"version": "1.0.1",
"minimum-stability": "stable",
"license": "MIT",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion src/ValidationAware.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ trait ValidationAware

abstract protected function log(string $message, ?int $level = null): void;

abstract public function getData($directive = null, $default = null);
abstract public function getData(string|array $key = null, mixed $default = null): mixed;

/**
* Returns a collection of validation constraints
Expand Down

0 comments on commit 9315fdf

Please sign in to comment.