From 71cdbe2db10a54da8ddd4483e45ae0d2effcdf88 Mon Sep 17 00:00:00 2001 From: Aaron Johnson Date: Tue, 25 Aug 2015 23:49:04 -0400 Subject: [PATCH] Make transformer stub PSR-2 compliant Make transformer stub's transform() method definition PSR-2 compliant. --- .../Repository/Generators/Stubs/transformer/transformer.stub | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Prettus/Repository/Generators/Stubs/transformer/transformer.stub b/src/Prettus/Repository/Generators/Stubs/transformer/transformer.stub index 4e2d82f5..d1a418ae 100644 --- a/src/Prettus/Repository/Generators/Stubs/transformer/transformer.stub +++ b/src/Prettus/Repository/Generators/Stubs/transformer/transformer.stub @@ -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,