Skip to content

Commit

Permalink
phpcbf
Browse files Browse the repository at this point in the history
  • Loading branch information
mducharme committed Dec 11, 2017
1 parent 9a18f30 commit 3ff4f0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Charcoal/Ui/ConditionalizableInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ public function condition();
* @return \Charcoal\Ui\ConditionalizableTrait
*/
public function setCondition($condition);
}
}
2 changes: 1 addition & 1 deletion src/Charcoal/Ui/ConditionalizableTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ final protected function parseConditionalLogic($condition)

$result = $this->resolveConditionalLogic($condition);

return $not ? !$result : $result;
return (($not === true) ? !$result : $result);
}

/**
Expand Down

0 comments on commit 3ff4f0e

Please sign in to comment.