@@ -20,12 +20,12 @@ discard block |
||
| 20 | 20 | // Publish our views |
| 21 | 21 | $this->loadViewsFrom(base_path("resources/views"), 'customfields'); |
| 22 | 22 | $this->publishes([ |
| 23 | - __DIR__ . '/views' => base_path("resources/views") |
|
| 23 | + __DIR__ . '/views' => base_path("resources/views") |
|
| 24 | 24 | ]); |
| 25 | 25 | |
| 26 | 26 | // Publish our migrations |
| 27 | 27 | $this->publishes([ |
| 28 | - __DIR__ . '/migrations' => base_path("database/migrations") |
|
| 28 | + __DIR__ . '/migrations' => base_path("database/migrations") |
|
| 29 | 29 | ], 'migrations'); |
| 30 | 30 | |
| 31 | 31 | // Publish a config file |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | public function register() |
| 43 | 43 | { |
| 44 | 44 | // Bind the |
| 45 | - $this->app->bind('customfields', function(){ |
|
| 45 | + $this->app->bind('customfields', function() { |
|
| 46 | 46 | return new customfields; |
| 47 | 47 | }); |
| 48 | 48 | } |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | 16 | |
| 17 | - Schema::create('CustomField', function (Blueprint $table) { |
|
| 17 | + Schema::create('CustomField', function(Blueprint $table) { |
|
| 18 | 18 | $table->increments('id'); |
| 19 | 19 | $table->string('title', 25); |
| 20 | 20 | $table->string('friendly_name', 150); |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | $table->tinyinteger('visibility'); |
| 24 | 24 | }); |
| 25 | 25 | |
| 26 | - Schema::create('CustomValue', function (Blueprint $table) { |
|
| 26 | + Schema::create('CustomValue', function(Blueprint $table) { |
|
| 27 | 27 | $table->increments('id'); |
| 28 | 28 | $table->integer('customfield')->unsigned(); |
| 29 | 29 | $table->string('entity', 100); |