Completed
Push — master ( 186de7...da4039 )
by
unknown
35:06 queued 15:53
created
src/Charcoal/Cms/EventCategory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     {
32 32
         parent::__construct($data);
33 33
 
34
-        if (is_callable([ $this, 'defaultData' ])) {
34
+        if (is_callable([$this, 'defaultData'])) {
35 35
             $this->setData($this->defaultData());
36 36
         }
37 37
     }
@@ -82,9 +82,9 @@  discard block
 block discarded – undo
82 82
         parent::validate($v);
83 83
 
84 84
         foreach ($this->translator()->locales() as $locale => $value) {
85
-            if (!isset($this['name']) || !(string)$this['name'][$locale]) {
85
+            if (!isset($this['name']) || !(string) $this['name'][$locale]) {
86 86
                 $this->validator()->error(
87
-                    (string)$this->translator()->translation([
87
+                    (string) $this->translator()->translation([
88 88
                         'fr' => 'Le NOM doit être rempli dans toutes les langues.',
89 89
                         'en' => 'The NAME must be filled in all languages.',
90 90
                     ])
Please login to merge, or discard this patch.