Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
zero-24 committed Mar 30, 2016
1 parent 1e43deb commit 0d1a7fd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Controllers/SubmitControllerCreate.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function execute()
'cms_version' => $input->getRaw('cms_version'),
'unique_id' => $input->getString('unique_id'),
'db_type' => $input->getString('db_type'),
'server_os' => $input->getString('server_os')
'server_os' => $input->getString('server_os'),
];

// Backup the original POST before manipulating/validating data
Expand All @@ -89,7 +89,7 @@ public function execute()

$response = [
'error' => true,
'message' => 'There was an error storing the data.'
'message' => 'There was an error storing the data.',
];

$this->getApplication()->setHeader('HTTP/1.1 500 Internal Server Error', 500, true);
Expand All @@ -103,7 +103,7 @@ public function execute()
{
$response = [
'error' => true,
'message' => 'Invalid data submission.'
'message' => 'Invalid data submission.',
];

$this->getApplication()->setHeader('HTTP/1.1 500 Internal Server Error', 500, true);
Expand All @@ -116,7 +116,7 @@ public function execute()

$response = [
'error' => false,
'message' => 'Data saved successfully'
'message' => 'Data saved successfully',
];

$this->getApplication()->setBody(json_encode($response));
Expand Down Expand Up @@ -150,7 +150,7 @@ private function checkCMSVersion($version)
{
return false;
}

// We are only collecting data for the 3.x series
if (version_compare($version, '3.0.0', '<') || version_compare($version, '4.0.0', '>='))
{
Expand Down

0 comments on commit 0d1a7fd

Please sign in to comment.