Completed
Pull Request — master (#1)
by
unknown
02:48 queued 20s
created
src/Modules/Acl/Database/Factories/PermissionFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$factory->define(App\Modules\Acl\AclPermission::class, function (Faker\Generator $faker) {
3
+$factory->define(App\Modules\Acl\AclPermission::class, function(Faker\Generator $faker) {
4 4
 	return [
5 5
 		'name'       => $faker->randomElement(['save', 'delete', 'find', 'paginate']),
6 6
 		'model'      => $faker->randomElement(['users', 'groups', 'settings', 'notifications']),
Please login to merge, or discard this patch.
src/Modules/Acl/Database/Factories/UserFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$factory->define(App\Modules\Acl\AclUser::class, function (Faker\Generator $faker) {
3
+$factory->define(App\Modules\Acl\AclUser::class, function(Faker\Generator $faker) {
4 4
 	return [
5 5
 		'profile_picture' => 'http://lorempixel.com/400/200/',
6 6
 		'name'            => $faker->name(),
Please login to merge, or discard this patch.
src/Modules/Acl/Database/Factories/OauthClientFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$factory->define(App\Modules\Acl\OauthClient::class, function (Faker\Generator $faker) {
3
+$factory->define(App\Modules\Acl\OauthClient::class, function(Faker\Generator $faker) {
4 4
 	return [
5 5
 		'user_id'                => $faker->randomDigit(),
6 6
 		'name'                   => $faker->name(),
Please login to merge, or discard this patch.
src/Modules/Acl/Database/Factories/GroupFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$factory->define(App\Modules\Acl\AclGroup::class, function (Faker\Generator $faker) {
3
+$factory->define(App\Modules\Acl\AclGroup::class, function(Faker\Generator $faker) {
4 4
 	return [
5 5
 		'name'       => $faker->unique->word(),
6 6
 		'created_at' => $faker->dateTimeBetween('-1 years', 'now'),
Please login to merge, or discard this patch.
src/Modules/Acl/Database/Seeds/AssignRelationsSeeder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 		/**
19 19
 		 * Assign the permissions to the admin group.
20 20
 		 */
21
-		\DB::table('permissions')->orderBy('created_at', 'asc')->whereIn('model', ['users', 'permissions', 'groups', 'oauthClients'])->each(function ($permission) use ($adminGroupId) {
21
+		\DB::table('permissions')->orderBy('created_at', 'asc')->whereIn('model', ['users', 'permissions', 'groups', 'oauthClients'])->each(function($permission) use ($adminGroupId) {
22 22
 			\DB::table('groups_permissions')->insert(
23 23
 				[
24 24
 				'permission_id' => $permission->id,
Please login to merge, or discard this patch.
src/Modules/Acl/Database/Migrations/2015_12_20_124154_password_resets.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 	 */
13 13
 	public function up()
14 14
 	{
15
-		Schema::create('password_resets', function (Blueprint $table) {
15
+		Schema::create('password_resets', function(Blueprint $table) {
16 16
 			$table->string('email')->index();
17 17
 			$table->string('token')->index();
18 18
 			$table->timestamp('created_at');
Please login to merge, or discard this patch.
Database/Migrations/2016_06_01_000002_create_oauth_access_tokens_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 	 */
14 14
 	public function up()
15 15
 	{
16
-		Schema::create('oauth_access_tokens', function (Blueprint $table) {
16
+		Schema::create('oauth_access_tokens', function(Blueprint $table) {
17 17
 			$table->string('id', 100)->primary();
18 18
 			$table->integer('user_id')->index()->nullable();
19 19
 			$table->integer('client_id');
Please login to merge, or discard this patch.
Acl/Database/Migrations/2016_06_01_000004_create_oauth_clients_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 	 */
14 14
 	public function up()
15 15
 	{
16
-		Schema::create('oauth_clients', function (Blueprint $table) {
16
+		Schema::create('oauth_clients', function(Blueprint $table) {
17 17
 			$table->increments('id');
18 18
 			$table->integer('user_id')->index()->nullable();
19 19
 			$table->string('name');
Please login to merge, or discard this patch.
src/Modules/Acl/Database/Migrations/2015_12_22_145819_groups.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,14 +12,14 @@
 block discarded – undo
12 12
 	 */
13 13
 	public function up()
14 14
 	{
15
-		Schema::create('groups', function (Blueprint $table) {
15
+		Schema::create('groups', function(Blueprint $table) {
16 16
 			$table->increments('id');
17
-			$table->string('name',100)->unique();
17
+			$table->string('name', 100)->unique();
18 18
 			$table->softDeletes();
19 19
 			$table->timestamps();
20 20
 		});
21 21
         
22
-		Schema::create('users_groups', function (Blueprint $table) {
22
+		Schema::create('users_groups', function(Blueprint $table) {
23 23
 			$table->increments('id');
24 24
 			$table->integer('user_id');
25 25
 			$table->integer('group_id');
Please login to merge, or discard this patch.