change command signature
This commit is contained in:
@@ -13,7 +13,7 @@ class EncodePolyLineCommand extends Command
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $signature = 'app:encode-poly-line-command';
|
||||
protected $signature = 'polyline:encode';
|
||||
|
||||
/**
|
||||
* The console command description.
|
||||
|
||||
@@ -34,7 +34,7 @@ class UpdateRequest extends FormRequest
|
||||
{
|
||||
return [
|
||||
function (Validator $validator) {
|
||||
if (strtotime($this->violation->exit_time) < strtotime($this->enter_time)) {
|
||||
if (strtotime($this->enter_time) < strtotime($this->violation->exit_time)) {
|
||||
$validator->errors()->add(
|
||||
'time',
|
||||
'زمان پایان ماموریت باید بعد از زمان شروع ماموریت باشد.'
|
||||
|
||||
Reference in New Issue
Block a user