@@ -11,10 +11,10 @@ |
||
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'; |
@@ -105,11 +105,11 @@ |
||
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 | } |
@@ -15,7 +15,7 @@ discard block |
||
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 |
||
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'); |