@@ -15,7 +15,7 @@ |
||
15 | 15 | { |
16 | 16 | // Publish our routes |
17 | 17 | // if (!$this->app->routesAreCached()) |
18 | - require __DIR__ . '/routes.php'; |
|
18 | + require __DIR__ . '/routes.php'; |
|
19 | 19 | |
20 | 20 | // Publish our views |
21 | 21 | $this->loadViewsFrom(base_path("resources/views"), 'contacts'); |
@@ -20,12 +20,12 @@ discard block |
||
20 | 20 | // Publish our views |
21 | 21 | $this->loadViewsFrom(base_path("resources/views"), 'contacts'); |
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('contacts', function(){ |
|
45 | + $this->app->bind('contacts', function() { |
|
46 | 46 | return new contacts; |
47 | 47 | }); |
48 | 48 | } |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | public function up() |
15 | 15 | { |
16 | 16 | |
17 | - Schema::create('ContactType', function (Blueprint $table) { |
|
17 | + Schema::create('ContactType', function(Blueprint $table) { |
|
18 | 18 | $table->increments('id'); |
19 | 19 | $table->string('name', 100); |
20 | 20 | $table->text('html')->nullable(); |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | $table->creation(); |
26 | 26 | }); |
27 | 27 | |
28 | - Schema::create('Contact', function (Blueprint $table) { |
|
28 | + Schema::create('Contact', function(Blueprint $table) { |
|
29 | 29 | $table->increments('id'); |
30 | 30 | $table->string('contact_reference', 50); |
31 | 31 | $table->integer('contacttype')->unsigned(); |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | $table->foreign('contacttype')->references('id')->on('ContactType'); |
40 | 40 | }); |
41 | 41 | |
42 | - Schema::create('Contact_Entity', function (Blueprint $table) { |
|
42 | + Schema::create('Contact_Entity', function(Blueprint $table) { |
|
43 | 43 | $table->increments('id'); |
44 | 44 | $table->integer('contact')->unsigned(); |
45 | 45 | $table->morphs("entity"); |