Passed
Push — master ( 963e9c...397c10 )
by Aranea
12:09
created
src/ElectrumServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         $this->app->make('AraneaDev\Electrum\App\IndexController');
50 50
 
51 51
         // Make the package's custom task scheduling kernel
52
-        $this->app->singleton('araneadev.electrum.app.console.kernel', function ($app) {
52
+        $this->app->singleton('araneadev.electrum.app.console.kernel', function($app) {
53 53
             $dispatcher = $app->make(Dispatcher::class);
54 54
 
55 55
             return new Kernel($app, $dispatcher);
Please login to merge, or discard this patch.
src/App/Console/ElectrumCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     {
49 49
         $method = $this->argument('method');
50 50
 
51
-        if (! method_exists($this, $method)) {
51
+        if (!method_exists($this, $method)) {
52 52
             $this->info(json_encode($this->electrum->sendRequest($method, $this->get_params())));
53 53
         } else {
54 54
             $this->$method();
Please login to merge, or discard this patch.
src/routes/electrum.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@  discard block
 block discarded – undo
3 3
 use Illuminate\Support\Facades\Route;
4 4
 
5 5
 if (config('electrum.web_interface.enabled', false)) {
6
-    Route::prefix(config('electrum.web_interface.prefix', 'electrum'))->group(function () {
6
+    Route::prefix(config('electrum.web_interface.prefix', 'electrum'))->group(function() {
7 7
         Route::get('/', 'AraneaDev\Electrum\App\IndexController');
8 8
 
9
-        Route::prefix('api')->group(function () {
9
+        Route::prefix('api')->group(function() {
10 10
             Route::get('status', 'AraneaDev\Electrum\App\Api\StatusController');
11 11
 
12 12
             Route::get('history', 'AraneaDev\Electrum\App\Api\HistoryController@index');
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
             Route::get('addresses/is_mine{address}', 'AraneaDev\Electrum\App\Api\AddressController@is_mine');
19 19
             Route::get('addresses/{address}', 'AraneaDev\Electrum\App\Api\AddressController@check');
20 20
 
21
-            Route::prefix('requests')->group(function () {
21
+            Route::prefix('requests')->group(function() {
22 22
                 Route::get('/', 'AraneaDev\Electrum\App\Api\RequestsController@index');
23 23
                 Route::get('{address}', 'AraneaDev\Electrum\App\Api\RequestsController@show');
24 24
 
Please login to merge, or discard this patch.