diff --git a/app/models/Component.php b/app/models/Component.php index c2087122..dea3e4de 100644 --- a/app/models/Component.php +++ b/app/models/Component.php @@ -1,6 +1,14 @@ hasMany('Incident', 'component_id', 'id'); + } + /** * Looks up the human readable version of the status. * @return string @@ -32,8 +40,7 @@ * * @return mixed */ - public function getTransformer() - { + public function getTransformer() { return new ComponentTransformer(); } }