mirror of
https://github.com/ZorgCC/lumen-generators.git
synced 2024-12-26 14:05:29 +03:00
Fix to PSR-2 style
This commit is contained in:
parent
c0daa0c97b
commit
b2510a01e4
@ -1,8 +1,7 @@
|
|||||||
<?php namespace App\Http\Controllers;
|
<?php namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
class {{name}} extends Controller
|
||||||
class {{name}} extends Controller {
|
{
|
||||||
|
|
||||||
const MODEL = "{{model}}";
|
const MODEL = "{{model}}";
|
||||||
|
|
||||||
use RESTActions;
|
use RESTActions;
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
use Illuminate\Database\Eloquent\Model;
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
class {{name}} extends Model {
|
class {{name}} extends Model
|
||||||
|
{
|
||||||
protected $fillable = [{{fillable}}];
|
protected $fillable = [{{fillable}}];
|
||||||
|
|
||||||
protected $dates = [{{dates}}];
|
protected $dates = [{{dates}}];
|
||||||
|
Loading…
Reference in New Issue
Block a user