Test Failed
Push — master ( ff69f6...dcdcb3 )
by Chauncey
10:36
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   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      */
111 111
     protected function resolveConditionalLogic($condition)
112 112
     {
113
-        if (is_callable([ $this, $condition ])) {
113
+        if (is_callable([$this, $condition])) {
114 114
             return !!$this->{$condition}();
115 115
         }
116 116
 
@@ -118,10 +118,10 @@  discard block
 block discarded – undo
118 118
             return !!$condition();
119 119
         }
120 120
 
121
-        if (is_callable([ $this, 'form' ])) {
121
+        if (is_callable([$this, 'form'])) {
122 122
             $form = $this->form();
123 123
 
124
-            if (is_callable([ $form, 'obj' ])) {
124
+            if (is_callable([$form, 'obj'])) {
125 125
                 $obj = $form->obj();
126 126
 
127 127
                 if (($obj instanceof ViewableInterface) && ($obj->view() instanceof ViewInterface)) {
Please login to merge, or discard this patch.
src/Charcoal/Ui/Dashboard/AbstractDashboard.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Charcoal\Ui\Dashboard;
4 4
 
5
-use InvalidArgumentException;
6
-
7 5
 // From 'charcoal-ui'
8 6
 use Charcoal\Ui\AbstractUiItem;
9 7
 use Charcoal\Ui\Dashboard\DashboardInterface;
Please login to merge, or discard this patch.