mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 23:00:28 -04:00
EbookTag validation: Trim name and check for empty string
This commit is contained in:
parent
93857641de
commit
2aae231710
2 changed files with 12 additions and 0 deletions
7
lib/Exceptions/EbookTagNameRequiredException.php
Normal file
7
lib/Exceptions/EbookTagNameRequiredException.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?
|
||||
namespace Exceptions;
|
||||
|
||||
class EbookTagNameRequiredException extends AppException{
|
||||
/** @var string $message */
|
||||
protected $message = 'EbookTag name is required.';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue