Passed
Pull Request — master (#13)
by Prasit
13:26
created
src/Facades/Invoice.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,10 +11,10 @@
 block discarded – undo
11 11
 class Invoice extends Facade
12 12
 {
13 13
     /**
14
-    * Get the registered name of the component.
15
-    *
16
-    * @return string
17
-    */
14
+     * Get the registered name of the component.
15
+     *
16
+     * @return string
17
+     */
18 18
     protected static function getFacadeAccessor()
19 19
     {
20 20
         return 'invoice';
Please login to merge, or discard this patch.
src/Providers/InvoiceServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,11 +105,11 @@
 block discarded – undo
105 105
 
106 106
     protected function registerServices()
107 107
     {
108
-        $this->app->bind(InvoiceServiceInterface::class, function ($app) {
108
+        $this->app->bind(InvoiceServiceInterface::class, function($app) {
109 109
             return new InvoiceService();
110 110
         });
111 111
         
112
-        $this->app->bind(BillServiceInterface::class, function ($app) {
112
+        $this->app->bind(BillServiceInterface::class, function($app) {
113 113
             return new BillService();
114 114
         });
115 115
     }
Please login to merge, or discard this patch.
database/migrations/2020_02_10_163005_create_invoices_tables.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     {
16 16
         $tableNames = config('soap.invoices.table_names');
17 17
 
18
-        Schema::create($tableNames['invoices'], function (Blueprint $table) {
18
+        Schema::create($tableNames['invoices'], function(Blueprint $table) {
19 19
             $table->uuid('id')->primary();
20 20
             $table->uuid('related_id');
21 21
             $table->string('related_type');
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
             $table->index(['invoicable_id', 'invoicable_type']);
38 38
         });
39 39
 
40
-        Schema::create($tableNames['invoice_lines'], function (Blueprint $table) {
40
+        Schema::create($tableNames['invoice_lines'], function(Blueprint $table) {
41 41
             $table->uuid('id')->primary();
42 42
             $table->bigInteger('amount')->default(0)->description('in cents, including tax');
43 43
             $table->bigInteger('tax')->default(0)->description('in cents');
Please login to merge, or discard this patch.