@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | { |
16 | 16 | Schema::table( |
17 | 17 | 'users', |
18 | - function (Blueprint $table) { |
|
18 | + function(Blueprint $table) { |
|
19 | 19 | $table->string('formio_password') |
20 | 20 | ->after('password') |
21 | 21 | ->nullable(); |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | { |
33 | 33 | Schema::table( |
34 | 34 | 'users', |
35 | - function (Blueprint $table) { |
|
35 | + function(Blueprint $table) { |
|
36 | 36 | $table->dropColumn('formio_password'); |
37 | 37 | } |
38 | 38 | ); |
@@ -67,10 +67,10 @@ discard block |
||
67 | 67 | { |
68 | 68 | $this->app->bind( |
69 | 69 | Formio::class, |
70 | - function (Application $app) { |
|
70 | + function(Application $app) { |
|
71 | 71 | $formio = new Formio(Config::get('formio'), $app->make(Guzzle::class)); |
72 | 72 | |
73 | - $resourceIds = function () use ($formio) { |
|
73 | + $resourceIds = function() use ($formio) { |
|
74 | 74 | $id = $formio->login() |
75 | 75 | ->request('form?name=user')[0]['_id']; |
76 | 76 | |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | $formio->setConfigs(Config::get('formio')); |
95 | 95 | } |
96 | 96 | |
97 | - $roleIds = function () use ($formio) { |
|
97 | + $roleIds = function() use ($formio) { |
|
98 | 98 | $roles = (array)$formio->login() |
99 | 99 | ->request('role?title=Authenticated')[0]['_id']; |
100 | 100 | |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | 'namespace' => 'Spinen\Formio\Http\Controllers', |
161 | 161 | 'middleware' => Config::get('formio.route.middleware', ['api', 'auth:api']), |
162 | 162 | ], |
163 | - function () { |
|
163 | + function() { |
|
164 | 164 | $this->loadRoutesFrom(realpath(__DIR__ . '/../../routes/web.php')); |
165 | 165 | } |
166 | 166 | ); |