Skip to content

Commit 9a268b9

Browse files
committed
chore: type the validator error constants
Signed-off-by: Joey Smith <jsmith@webinertia.net>
1 parent 4b2d5fe commit 9a268b9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/AbstractDbValidator.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ abstract class AbstractDbValidator extends AbstractValidator implements AdapterA
3333
/**
3434
* Error constants
3535
*/
36-
public const ERROR_NO_RECORD_FOUND = 'noRecordFound';
37-
public const ERROR_RECORD_FOUND = 'recordFound';
36+
public const string ERROR_NO_RECORD_FOUND = 'noRecordFound';
37+
public const string ERROR_RECORD_FOUND = 'recordFound';
3838

3939
/**
4040
* Message templates.

0 commit comments

Comments
 (0)