We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a87819 commit 4112ea4Copy full SHA for 4112ea4
src/Formatters/StylishCommand.php
@@ -320,7 +320,7 @@ public function execute(FDCI $command): FI
320
foreach ($this->statusKeys as $key) {
321
$altStatusComments[$key] = "";
322
}
323
- $this->statusComments = !strcmp($this->commentType, self::AVAILABLE_COMMENT_TYPES["verbose"]) ?
+ $this->statusComments = (strcmp($this->commentType, self::AVAILABLE_COMMENT_TYPES["verbose"]) === 0) ?
324
[
325
$this->statusKeys[0] => "",
326
$this->statusKeys[1] => " # Old value",
0 commit comments