Passed
Push — master ( cf44a0...dc02e6 )
by Mario
02:42
created
src/AbstractResourceController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 use RafflesArgentina\ResourceController\Exceptions\ResourceControllerException;
14 14
 
15 15
 abstract class AbstractResourceController extends BaseController
16
-                                          implements ResourceControllerInterface
16
+                                            implements ResourceControllerInterface
17 17
 {
18 18
     /**
19 19
      * The alias for named routes.
Please login to merge, or discard this patch.
tests/factories/ModelFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 $factory->define(
4
-    \RafflesArgentina\ResourceController\Models\User::class, function (\Faker\Generator $faker) {
4
+    \RafflesArgentina\ResourceController\Models\User::class, function(\Faker\Generator $faker) {
5 5
         return [
6 6
         'name' => $faker->name,
7 7
         'email' => $faker->email,
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 );
12 12
 
13 13
 $factory->define(
14
-    \RafflesArgentina\ResourceController\Models\Related::class, function (\Faker\Generator $faker) {
14
+    \RafflesArgentina\ResourceController\Models\Related::class, function(\Faker\Generator $faker) {
15 15
         return [
16 16
         'a' => str_random(),
17 17
         'b' => str_random(),
Please login to merge, or discard this patch.
tests/database/migrations/2014_10_12_000000_create_users_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     public function up()
15 15
     {
16 16
         Schema::create(
17
-            'users', function (Blueprint $table) {
17
+            'users', function(Blueprint $table) {
18 18
                 $table->increments('id');
19 19
                 $table->unsignedInteger('upload_id')->nullable();
20 20
                 $table->unsignedInteger('related_id')->nullable();
Please login to merge, or discard this patch.
tests/database/migrations/2018_17_01_000003_create_upload_user_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     public function up()
15 15
     {
16 16
         Schema::create(
17
-            'upload_user', function (Blueprint $table) {
17
+            'upload_user', function(Blueprint $table) {
18 18
                 $table->increments('id');
19 19
                 $table->unsignedInteger('upload_id');
20 20
                 $table->unsignedInteger('user_id');
Please login to merge, or discard this patch.
tests/database/migrations/2018_17_01_000000_create_related_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     public function up()
15 15
     {
16 16
         Schema::create(
17
-            'related', function (Blueprint $table) {
17
+            'related', function(Blueprint $table) {
18 18
                 $table->increments('id');
19 19
                 $table->unsignedInteger('user_id')->nullable();
20 20
                 $table->string('a');
Please login to merge, or discard this patch.
tests/database/migrations/2018_17_01_000001_create_relatables_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     public function up()
15 15
     {
16 16
         Schema::create(
17
-            'relatables', function (Blueprint $table) {
17
+            'relatables', function(Blueprint $table) {
18 18
                 $table->unsignedInteger('related_id');
19 19
                 $table->unsignedInteger('relatable_id');
20 20
                 $table->string('relatable_type')->nullable();
Please login to merge, or discard this patch.
tests/database/migrations/2018_17_01_000002_create_uploadeables_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     public function up()
15 15
     {
16 16
         Schema::create(
17
-            'uploadeables', function (Blueprint $table) {
17
+            'uploadeables', function(Blueprint $table) {
18 18
                 $table->unsignedInteger('upload_id')->nullable();
19 19
                 $table->unsignedInteger('uploadeable_id')->nullable();
20 20
                 $table->string('uploadeable_type')->nullable();
Please login to merge, or discard this patch.
tests/database/migrations/2018_17_01_000001_create_related_user_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     public function up()
15 15
     {
16 16
         Schema::create(
17
-            'related_user', function (Blueprint $table) {
17
+            'related_user', function(Blueprint $table) {
18 18
                 $table->increments('id');
19 19
                 $table->unsignedInteger('user_id');
20 20
                 $table->unsignedInteger('related_id');
Please login to merge, or discard this patch.
tests/database/migrations/2018_17_01_000002_create_uploads_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     public function up()
15 15
     {
16 16
         Schema::create(
17
-            'uploads', function (Blueprint $table) {
17
+            'uploads', function(Blueprint $table) {
18 18
                 $table->increments('id');
19 19
                 $table->unsignedInteger('user_id')->nullable();
20 20
                 $table->string('location');
Please login to merge, or discard this patch.