Some StyleCI fixes
This commit is contained in:
parent
414094a898
commit
3372dd1fc8
1 changed files with 5 additions and 5 deletions
|
@ -85,7 +85,7 @@ EOD;
|
|||
}
|
||||
}
|
||||
}
|
||||
$content = <<<EOD
|
||||
$content = <<<'EOD'
|
||||
{
|
||||
"response": "error",
|
||||
"error": "invalid_token",
|
||||
|
@ -96,7 +96,7 @@ EOD;
|
|||
return (new Response($content, 400))
|
||||
->header('Content-Type', 'application/json');
|
||||
}
|
||||
$content = <<<EOD
|
||||
$content = <<<'EOD'
|
||||
{
|
||||
"response": "error",
|
||||
"error": "no_token",
|
||||
|
@ -126,7 +126,7 @@ EOD;
|
|||
$valid = $this->tokenService->validateToken($token);
|
||||
|
||||
if ($valid === null) {
|
||||
$content = <<<EOD
|
||||
$content = <<<'EOD'
|
||||
{
|
||||
"respose": "error",
|
||||
"error": "invalid_token",
|
||||
|
@ -165,7 +165,7 @@ EOD;
|
|||
|
||||
return response()->json([
|
||||
'response' => 'places',
|
||||
'places' => $places
|
||||
'places' => $places,
|
||||
]);
|
||||
}
|
||||
//nope, ho about a config query?
|
||||
|
@ -199,7 +199,7 @@ EOD;
|
|||
]);
|
||||
}
|
||||
$content = 'No OAuth token sent with request.';
|
||||
$content = <<<EOD
|
||||
$content = <<<'EOD'
|
||||
{
|
||||
"response": "error",
|
||||
"error": "no_token",
|
||||
|
|
Loading…
Add table
Reference in a new issue