diff --git a/app/Repositories/OptionRepository.php b/app/Repositories/OptionRepository.php index e700f98bf..b5e9510c1 100644 --- a/app/Repositories/OptionRepository.php +++ b/app/Repositories/OptionRepository.php @@ -87,7 +87,7 @@ class OptionRepository } DB::transaction(function () use ($option) { - foreach($option->variables as $variable) { + foreach ($option->variables as $variable) { (new VariableRepository)->delete($variable->id); } diff --git a/database/migrations/2017_03_12_150648_MoveFunctionsFromFileToDatabase.php b/database/migrations/2017_03_12_150648_MoveFunctionsFromFileToDatabase.php index b58051736..bbd5fda42 100644 --- a/database/migrations/2017_03_12_150648_MoveFunctionsFromFileToDatabase.php +++ b/database/migrations/2017_03_12_150648_MoveFunctionsFromFileToDatabase.php @@ -7,7 +7,6 @@ use Illuminate\Database\Migrations\Migration; class MoveFunctionsFromFileToDatabase extends Migration { - private $default = <<<'EOF' 'use strict';