mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-17 17:47:13 +00:00
fix: correct indentation in camel case config comment block (#1767)
The 'Support for camel cased models' comment block used 5-space indentation for the pipe characters instead of the standard 4 spaces used by all other comment blocks in the config file. Fixes #1761
This commit is contained in:
+23
-23
@@ -201,29 +201,29 @@ return [
|
|||||||
],
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Support for camel cased models
|
| Support for camel cased models
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
|
||||||
| There are some Laravel packages (such as Eloquence) that allow for accessing
|
| There are some Laravel packages (such as Eloquence) that allow for accessing
|
||||||
| Eloquent model properties via camel case, instead of snake case.
|
| Eloquent model properties via camel case, instead of snake case.
|
||||||
|
|
|
|
||||||
| Enabling this option will support these packages by saving all model
|
| Enabling this option will support these packages by saving all model
|
||||||
| properties as camel case, instead of snake case.
|
| properties as camel case, instead of snake case.
|
||||||
|
|
|
|
||||||
| For example, normally you would see this:
|
| For example, normally you would see this:
|
||||||
|
|
|
|
||||||
| * @property \Illuminate\Support\Carbon $created_at
|
| * @property \Illuminate\Support\Carbon $created_at
|
||||||
| * @property \Illuminate\Support\Carbon $updated_at
|
| * @property \Illuminate\Support\Carbon $updated_at
|
||||||
|
|
|
|
||||||
| With this enabled, the properties will be this:
|
| With this enabled, the properties will be this:
|
||||||
|
|
|
|
||||||
| * @property \Illuminate\Support\Carbon $createdAt
|
| * @property \Illuminate\Support\Carbon $createdAt
|
||||||
| * @property \Illuminate\Support\Carbon $updatedAt
|
| * @property \Illuminate\Support\Carbon $updatedAt
|
||||||
|
|
|
|
||||||
| Note, it is currently an all-or-nothing option.
|
| Note, it is currently an all-or-nothing option.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
'model_camel_case_properties' => false,
|
'model_camel_case_properties' => false,
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user