Completed
Push — master ( 465a84...cacecb )
by Mario
03:48
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.
src/ResourceController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
         }
97 97
 
98 98
         return redirect()->route($this->getRedirectionRoute())
99
-                         ->with($this->successFlashMessageKey, $message);
99
+                            ->with($this->successFlashMessageKey, $message);
100 100
     }
101 101
 
102 102
     /**
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
         }
201 201
 
202 202
         return redirect()->route($this->getRedirectionRoute())
203
-                         ->with($this->successFlashMessageKey, $message);
203
+                            ->with($this->successFlashMessageKey, $message);
204 204
     }
205 205
 
206 206
     /**
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
         }
247 247
 
248 248
         return redirect()->route($this->getRedirectionRoute())
249
-                         ->with($this->infoFlashMessageKey, $message);
249
+                            ->with($this->infoFlashMessageKey, $message);
250 250
     }
251 251
 
252 252
     /**
Please login to merge, or discard this patch.
tests/BaseTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
         \Route::group([
21 21
             'middleware' => [],
22 22
             'namespace'  => 'RafflesArgentina\ResourceController',
23
-        ], function ($router) {
23
+        ], function($router) {
24 24
             $router->resource('test', 'TestController');
25 25
             $router->resource('test2', 'TestUseSoftDeletesController');
26 26
         });
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.