Skip to content

Commit

Permalink
fix phpcs error
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelAlphonso committed Jul 25, 2018
1 parent 88bec38 commit d18046b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Charcoal/Ui/UiItemTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public function setTabTitle($title)
*/
public function tabTitle()
{
return $this->tabTitle ?: $this->title();
return ($this->tabTitle) ? $this->tabTitle : $this->title();
}

/**
Expand Down

0 comments on commit d18046b

Please sign in to comment.