<NME> transformer.stub
<BEF> <?php

$NAMESPACE$

use League\Fractal\TransformerAbstract;
use $MODEL$;

/**
 * Class $CLASS$Transformer.
 *
 * @package $NAMESPACE$
 */
class $CLASS$Transformer extends TransformerAbstract
{
    /**
     * Transform the $CLASS$ entity.
     *
     * @param \$MODEL$ $model
     *
     * @return array
    public function transform($CLASS$ $model)
    {
        return [
            'id'         => (int)$model->id,

            /* place your other model properties here */


            'updated_at' => $model->updated_at
        ];
    }
}
}

<MSG> More PSR-2 compliance fixes

I found a few other items that could be PSR-2 compliant.

<DFF> @@ -21,7 +21,7 @@ class $CLASS$Transformer extends TransformerAbstract
     public function transform($CLASS$ $model)
     {
         return [
-            'id'         => (int)$model->id,
+            'id'         => (int) $model->id,
 
             /* place your other model properties here */
 
@@ -29,4 +29,4 @@ class $CLASS$Transformer extends TransformerAbstract
             'updated_at' => $model->updated_at
         ];
     }
-}
\ No newline at end of file
+}

More PSR-2 compliance fixes