Optionally write missing Laravel Model DocBlock (#700)

* Fix missing doc-block.

* Fixes a bug where a missing DocBlock caused errors.

* Change Option Shorthand to W
Because it is not allowed to have two char shorthands for options.

* Revert code refactoring.

* Fix copied config header.
This commit is contained in:
Patrick
2018-12-19 13:10:53 +01:00
committed by Barry vd. Heuvel
parent 2a63b31475
commit 2f8283a746
3 changed files with 58 additions and 7 deletions
+15
View File
@@ -38,6 +38,21 @@ return array(
'write_model_magic_where' => true,
/*
|--------------------------------------------------------------------------
| Write Eloquent Model Mixins
|--------------------------------------------------------------------------
|
| This will add the necessary DocBlock mixins to the model class
| contained in the Laravel Framework. This helps the IDE with
| auto-completion.
|
| Please be aware that this setting changes a file within the /vendor directory.
|
*/
'write_eloquent_model_mixins' => false,
/*
|--------------------------------------------------------------------------
| Helper files to include