Skip to content

Commit 5bde517

Browse files
committed
Merge pull request #18 from miclf/patch-1
Improve consistency of config file
2 parents 72a63ae + adfec34 commit 5bde517

File tree

2 files changed

+22
-8
lines changed

2 files changed

+22
-8
lines changed

Diff for: README.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,18 @@ This is the contents of the published file:
9797
return [
9898

9999
/*
100-
* The default serializer to be used when performing a transformation.
101-
* Leave empty to use the Fractal's default. This can be a string or
102-
* it can be an instance of League\Fractal\Serializer\SerializerAbstract
103-
*/
100+
|--------------------------------------------------------------------------
101+
| Default Serializer
102+
|--------------------------------------------------------------------------
103+
|
104+
| The default serializer to be used when performing a transformation. It
105+
| may be left empty to use Fractal's default one. This can either be a
106+
| string or a League\Fractal\Serializer\SerializerAbstract subclass.
107+
|
108+
*/
109+
104110
'default_serializer' => '',
111+
105112
];
106113
```
107114

Diff for: resources/config/laravel-fractal.php

+11-4
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,16 @@
33
return [
44

55
/*
6-
* The default serializer to be used when performing a transformation.
7-
* Leave empty to use the Fractal's default. This can be a string or
8-
* it can be an instance of League\Fractal\Serializer\SerializerAbstract
9-
*/
6+
|--------------------------------------------------------------------------
7+
| Default Serializer
8+
|--------------------------------------------------------------------------
9+
|
10+
| The default serializer to be used when performing a transformation. It
11+
| may be left empty to use Fractal's default one. This can either be a
12+
| string or a League\Fractal\Serializer\SerializerAbstract subclass.
13+
|
14+
*/
15+
1016
'default_serializer' => '',
17+
1118
];

0 commit comments

Comments
 (0)