From 91eb39d6153b07747d25881b1ef36957911d8f0c Mon Sep 17 00:00:00 2001 From: jwdeitch Date: Mon, 25 Jan 2016 07:58:22 -0500 Subject: [PATCH] Update TagValidator.php --- extensions/tags/src/TagValidator.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/extensions/tags/src/TagValidator.php b/extensions/tags/src/TagValidator.php index 4fc6f1aba..4719f9f93 100644 --- a/extensions/tags/src/TagValidator.php +++ b/extensions/tags/src/TagValidator.php @@ -18,10 +18,10 @@ class TagValidator extends AbstractValidator * {@inheritdoc} */ protected $rules = [ - 'name' => [ 'required' ], - 'slug' => [ 'required', 'unique:tags' ], - 'isHidden' => [ 'bool' ], - 'description' => [ 'text|max:700' ], - 'color' => [ 'regex:^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$' ], + 'name' => ['required'], + 'slug' => ['required', 'unique:tags'], + 'isHidden' => ['bool'], + 'description' => ['text|max:700'], + 'color' => ['regex:^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$'], ]; }