Completed
Push — master ( 0949ca...32e3be )
by
unknown
07:59
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.
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.