Merge pull request 'change command signature' (#23) from feature/PolyLineEncoderCommand into develop

Reviewed-on: #23
This commit was merged in pull request #23.
This commit is contained in:
2026-06-14 09:49:40 +00:00
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ class EncodePolyLineCommand extends Command
* *
* @var string * @var string
*/ */
protected $signature = 'app:encode-poly-line-command'; protected $signature = 'polyline:encode';
/** /**
* The console command description. * The console command description.

View File

@@ -34,7 +34,7 @@ class UpdateRequest extends FormRequest
{ {
return [ return [
function (Validator $validator) { 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( $validator->errors()->add(
'time', 'time',
'زمان پایان ماموریت باید بعد از زمان شروع ماموریت باشد.' 'زمان پایان ماموریت باید بعد از زمان شروع ماموریت باشد.'