From 8c532efd5f02f7a7e5ea322a07ddcf49d130a8ec Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 17 Oct 2015 10:09:03 -0400 Subject: Run php-cs-fixer on the code base --- app/Model/Color.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/Model/Color.php') diff --git a/app/Model/Color.php b/app/Model/Color.php index 4ded2e1e..d341dd3c 100644 --- a/app/Model/Color.php +++ b/app/Model/Color.php @@ -113,8 +113,7 @@ class Color extends Base foreach ($this->default_colors as $color_id => $params) { if ($color_id === $color) { return $color_id; - } - else if ($color === strtolower($params['name'])) { + } elseif ($color === strtolower($params['name'])) { return $color_id; } } -- cgit v1.2.3