Skip to content

Commit

Permalink
Merge pull request #2 from aleksandar-babic/master
Browse files Browse the repository at this point in the history
[REFACTOR] - improved return statement of helper function isProductionMode
  • Loading branch information
royduin committed Mar 28, 2018
2 parents cc92c68 + a97c95f commit 4cf9fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,6 @@ public function isActive()
*/
public function isProductionMode()
{
return $this->appState->getMode() == 'production' ? true : false;
return $this->appState->getMode() == 'production';
}
}

0 comments on commit 4cf9fdf

Please sign in to comment.