CS: PSR1/2

parent 94d5f4f6
<?php <?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class MakeStatusFieldNullableOnPageTranslationsTable extends Migration class MakeStatusFieldNullableOnPageTranslationsTable extends Migration
{ {
......
...@@ -4,7 +4,6 @@ namespace Modules\User\Console; ...@@ -4,7 +4,6 @@ namespace Modules\User\Console;
use Illuminate\Console\Command; use Illuminate\Console\Command;
use Modules\User\Permissions\PermissionsRemover; use Modules\User\Permissions\PermissionsRemover;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputArgument;
class RemoveModulePermissionsCommand extends Command class RemoveModulePermissionsCommand extends Command
......
...@@ -29,7 +29,7 @@ final class PermissionsAdderTest extends BaseUserTestCase ...@@ -29,7 +29,7 @@ final class PermissionsAdderTest extends BaseUserTestCase
'slug' => 'admin', 'slug' => 'admin',
'permissions' => [ 'permissions' => [
'dashboard.index' => true, 'dashboard.index' => true,
] ],
]); ]);
$this->user->create([ $this->user->create([
'email' => 'n.widart@gmail.com', 'email' => 'n.widart@gmail.com',
......
...@@ -22,6 +22,7 @@ if (function_exists('current_permission_value_for_roles') === false) { ...@@ -22,6 +22,7 @@ if (function_exists('current_permission_value_for_roles') === false) {
if ($value === true) { if ($value === true) {
return 1; return 1;
} }
return -1; return -1;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment