Skip to content

Commit 3f3938a

Browse files
committed
Use the ::class notation
1 parent 4c8d21c commit 3f3938a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
|
186186
*/
187187

188-
'transformer' => env('API_TRANSFORMER', 'Dingo\Api\Transformer\Adapter\Fractal'),
188+
'transformer' => env('API_TRANSFORMER', Dingo\Api\Transformer\Adapter\Fractal::class),
189189

190190
/*
191191
|--------------------------------------------------------------------------
@@ -202,7 +202,7 @@
202202

203203
'formats' => [
204204

205-
'json' => 'Dingo\Api\Http\Response\Format\Json',
205+
'json' => Dingo\Api\Http\Response\Format\Json::class,
206206

207207
],
208208

0 commit comments

Comments
 (0)