Passed
Push — master ( c6caec...3c5ecd )
by Andre
03:46
created
src/validators/EnabledValidator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,11 +25,11 @@
 block discarded – undo
25 25
     public function validateAttribute($object, $attribute)
26 26
     {
27 27
         if ($object->enabled && !$object->clientId) {
28
-            $this->addError($object, $attribute, Craft::t('enupal-socializer','Client ID cannot be blank'));
28
+            $this->addError($object, $attribute, Craft::t('enupal-socializer', 'Client ID cannot be blank'));
29 29
         }
30 30
 
31 31
         if ($object->enabled && !$object->clientSecret) {
32
-            $this->addError($object, 'clientSecret', Craft::t('enupal-socializerenupal-socializer','Client Secret cannot be blank'));
32
+            $this->addError($object, 'clientSecret', Craft::t('enupal-socializerenupal-socializer', 'Client Secret cannot be blank'));
33 33
         }
34 34
     }
35 35
 }
Please login to merge, or discard this patch.