Format the case statement like the rest

This commit is contained in:
James Brooks 2016-12-03 19:37:07 +00:00
parent 67df17d9e1
commit 443ded7029

View File

@ -28,16 +28,11 @@ class ComponentPresenter extends BasePresenter implements Arrayable
public function status_color()
{
switch ($this->wrappedObject->status) {
case 0:
return 'greys';
case 1:
return 'greens';
case 2:
return 'blues';
case 3:
return 'yellows';
case 4:
return 'reds';
case 0: return 'greys';
case 1: return 'greens';
case 2: return 'blues';
case 3: return 'yellows';
case 4: return 'reds';
}
}