Skip to content

Commit

Permalink
Merge pull request #79 from aejnsn/master
Browse files Browse the repository at this point in the history
Make transformer stub PSR-2 compliant
  • Loading branch information
andersao committed Aug 27, 2015
2 parents 129e7cc + 71cdbe2 commit 7e7c4f3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class $CLASS$Transformer extends TransformerAbstract
*
* @return array
*/
public function transform($CLASS$ $model) {
public function transform($CLASS$ $model)
{
return [
'id' => (int)$model->id,

Expand Down

0 comments on commit 7e7c4f3

Please sign in to comment.