Some StyleCI fixes

This commit is contained in:
Jonny Barnes 2016-07-04 16:23:54 +01:00
parent 414094a898
commit 3372dd1fc8

View file

@ -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",