Skip to content

Commit

Permalink
CS: PSR1/2
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Oct 13, 2017
1 parent 94d5f4f commit 633085d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class MakeStatusFieldNullableOnPageTranslationsTable extends Migration
{
Expand Down
1 change: 0 additions & 1 deletion Modules/User/Console/RemoveModulePermissionsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Illuminate\Console\Command;
use Modules\User\Permissions\PermissionsRemover;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;

class RemoveModulePermissionsCommand extends Command
Expand Down
2 changes: 1 addition & 1 deletion Modules/User/Tests/Permissions/PermissionsAdderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function setUp()
'slug' => 'admin',
'permissions' => [
'dashboard.index' => true,
]
],
]);
$this->user->create([
'email' => 'n.widart@gmail.com',
Expand Down
1 change: 1 addition & 0 deletions Modules/User/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ function current_permission_value_for_roles($model, $permissionTitle, $permissio
if ($value === true) {
return 1;
}

return -1;
}
}

0 comments on commit 633085d

Please sign in to comment.