diff --git a/extensions/suspend/src/SuspendValidator.php b/extensions/suspend/src/SuspendValidator.php index 42752699aa..d572e2ce15 100644 --- a/extensions/suspend/src/SuspendValidator.php +++ b/extensions/suspend/src/SuspendValidator.php @@ -20,7 +20,7 @@ class SuspendValidator extends AbstractValidator 'suspendedUntil' => ['nullable', 'date'], ]; - /** + /** * {@inheritdoc} */ protected function attributes() diff --git a/extensions/tags/src/Listener/SaveTagsToDatabase.php b/extensions/tags/src/Listener/SaveTagsToDatabase.php index 9f3ac0921b..e53f6abe6e 100755 --- a/extensions/tags/src/Listener/SaveTagsToDatabase.php +++ b/extensions/tags/src/Listener/SaveTagsToDatabase.php @@ -139,7 +139,9 @@ protected function validateTagCount($type, $count) $validator = $this->validator->make( [$key => $count], - [$key => ['numeric', $min === $max ? "size:$min" : "between:$min,$max"]], $messages, $customAttributes + [$key => ['numeric', $min === $max ? "size:$min" : "between:$min,$max"]], + $messages, + $customAttributes ); if ($validator->fails()) {