Fix formatting and interfaces in nearly every file

This commit is contained in:
Nabeel Shahzad
2018-03-19 20:50:40 -05:00
parent 04c5b9e7bf
commit ccf56ddec1
331 changed files with 3282 additions and 2492 deletions

View File

@@ -21,7 +21,7 @@ class MeasureExecutionTime
{
// Get the response
$response = $next($request);
if(!defined('LUMEN_START')) {
if (!defined('LUMEN_START')) {
return $response;
}
@@ -31,8 +31,8 @@ class MeasureExecutionTime
// I assume you're using valid json in your responses
// Then I manipulate them below
$content = json_decode($response->getContent(), true) + [
'execution_time' => $executionTime,
];
'execution_time' => $executionTime,
];
// Change the content of your response
$response->setData($content);