Passed
Push — master ( 9cead0...545cea )
by
unknown
12:43
created
src/Charcoal/Ui/ConditionalizableTrait.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     /**
73 73
      * Resolve the conditional logic.
74 74
      *
75
-     * @param  mixed $condition The condition.
75
+     * @param  boolean|string $condition The condition.
76 76
      * @return boolean|null
77 77
      */
78 78
     final protected function parseConditionalLogic($condition)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
      */
107 107
     protected function resolveConditionalLogic($condition)
108 108
     {
109
-        if (is_callable([ $this, $condition ])) {
109
+        if (is_callable([$this, $condition])) {
110 110
             return !!$this->{$condition}();
111 111
         } elseif (is_callable($condition)) {
112 112
             return !!$condition();
Please login to merge, or discard this patch.