mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 07:10:29 -04:00
LocSubject: Trim Name and validate Name isn't empty
This commit is contained in:
parent
5b1bb2a9f0
commit
754fc0ab2b
2 changed files with 12 additions and 0 deletions
7
lib/Exceptions/LocSubjectNameRequiredException.php
Normal file
7
lib/Exceptions/LocSubjectNameRequiredException.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?
|
||||
namespace Exceptions;
|
||||
|
||||
class LocSubjectNameRequiredException extends AppException{
|
||||
/** @var string $message */
|
||||
protected $message = 'LocSubject name is required.';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue