Completed
Push — master ( 0da9d4...b286ff )
by Adrian
04:05
created
src/Traits/HasFiltersTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,12 +42,12 @@
 block discarded – undo
42 42
     protected function prepareFiltrator(InputFilter $input)
43 43
     {
44 44
         $filters = $this->getFilters();
45
-        if ( ! $filters || ! is_array($filters)) {
45
+        if (!$filters || !is_array($filters)) {
46 46
             return;
47 47
         }
48 48
         $filtrator = $input->getFiltrator();
49 49
         foreach ($filters as $filter) {
50
-            $params = is_array($filter) ? $filter : array( $filter );
50
+            $params = is_array($filter) ? $filter : array($filter);
51 51
             if (isset($params[0])) {
52 52
                 $filtrator->add($this->getName(), $params[0], @$params[1], @$params[2], @$params[3]);
53 53
             }
Please login to merge, or discard this patch.
src/Traits/HasHintTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 
10 10
     protected function ensureHintAttributes()
11 11
     {
12
-        if ( ! isset($this[Specs::HINT_ATTRIBUTES])) {
12
+        if (!isset($this[Specs::HINT_ATTRIBUTES])) {
13 13
             $this[Specs::HINT_ATTRIBUTES] = new AttributesContainer();
14 14
         }
15 15
     }
Please login to merge, or discard this patch.
src/Traits/HasLabelTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 
10 10
     protected function ensureLabelAttributes()
11 11
     {
12
-        if ( ! isset($this[Specs::LABEL_ATTRIBUTES])) {
12
+        if (!isset($this[Specs::LABEL_ATTRIBUTES])) {
13 13
             $this[Specs::LABEL_ATTRIBUTES] = new AttributesContainer();
14 14
         }
15 15
     }
Please login to merge, or discard this patch.
src/Traits/HasValidationRulesTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     protected function prepareValidator(InputFilter $input)
42 42
     {
43 43
         $validationRules = $this->getValidationRules();
44
-        if ( ! $validationRules || ! is_array($validationRules)) {
44
+        if (!$validationRules || !is_array($validationRules)) {
45 45
             return;
46 46
         }
47 47
         $validator = $input->getValidator();
Please login to merge, or discard this patch.