diff --git a/src/Classes/Validation.php b/src/Classes/Validation.php index eefd6a3..2219e91 100644 --- a/src/Classes/Validation.php +++ b/src/Classes/Validation.php @@ -35,7 +35,7 @@ public function validateConfig(): bool ], ]); - if (!$passes) { + if (! $passes) { $validationMessage = $validator->errors()[array_key_first($validator->errors())][0]; throw new ValidationException($validationMessage); @@ -58,7 +58,7 @@ protected function validateTrackingOptions(): array ]; foreach ($trackingOptions as $trackingOption => $value) { - $rules[] = Rule::make('tracking.fields.' . $trackingOption) + $rules[] = Rule::make('tracking.fields.'.$trackingOption) ->rules(['required', 'boolean']); }