Fix phpcs error
This commit is contained in:
parent
ae2c45ff3d
commit
f01595f181
1 changed files with 4 additions and 1 deletions
|
@ -82,7 +82,10 @@ class MicropubMediaController extends Controller
|
||||||
if (request()->has('q')) {
|
if (request()->has('q')) {
|
||||||
return response()->json([
|
return response()->json([
|
||||||
'error' => 'invalid_request',
|
'error' => 'invalid_request',
|
||||||
'error_description' => 'This server does not know how to handle this q parameter (' . request()->input('q') . ')',
|
'error_description' => sprintf(
|
||||||
|
'This server does not know how to handle this q parameter (%s)',
|
||||||
|
request()->input('q')
|
||||||
|
),
|
||||||
], 400);
|
], 400);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue