Skip to content

Commit

Permalink
Apply fixes from StyleCI (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw authored Apr 20, 2019
1 parent cb10c55 commit 10d5835
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Tasks/ParseDotEnvFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Laradock\Tasks;

use Dotenv\Dotenv;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\File;

class ParseDotEnvFile
{
Expand All @@ -17,8 +17,8 @@ class ParseDotEnvFile
public function __construct($path = null, $file = null)
{
$path = $path ?? \Laradock\workingDirectory();
if (!File::exists($path . '/' . $file)) {
Log::warning('Missing ' . $file . ' file at ' . $path);
if (! File::exists($path.'/'.$file)) {
Log::warning('Missing '.$file.' file at '.$path);
}
$this->dotEnv = Dotenv::create($path ?? \Laradock\workingDirectory(), $file);
}
Expand Down

0 comments on commit 10d5835

Please sign in to comment.