Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feature/system-info' into featur…
Browse files Browse the repository at this point in the history
…e/system-info

* origin/feature/system-info:
  Applied fixes from StyleCI
  • Loading branch information
zakhenry committed Jan 12, 2016
2 parents 270e25b + 00a2956 commit 72e62a5
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions api/app/Http/Controllers/UtilityController.php
@@ -1,5 +1,13 @@
<?php

/*
* This file is part of the Spira framework.
*
* @link https://github.com/spira/spira
*
* For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
*/

namespace App\Http\Controllers;

use Illuminate\Support\Facades\Storage;
Expand All @@ -17,7 +25,7 @@ public function getSystemInformation()
{
$file = 'system-information.json';

if (!Storage::disk('local')->has($file)) {
if (! Storage::disk('local')->has($file)) {
throw new NotFoundHttpException("file $file not found");
}

Expand All @@ -27,5 +35,4 @@ public function getSystemInformation()
return $this->getResponse()
->item($data);
}

}

0 comments on commit 72e62a5

Please sign in to comment.