@@ -14,7 +14,7 @@ |
||
14 | 14 | public function boot() |
15 | 15 | { |
16 | 16 | // Publish our routes |
17 | - require __DIR__ . '/routes.php'; |
|
17 | + require __DIR__ . '/routes.php'; |
|
18 | 18 | |
19 | 19 | // Publish our views |
20 | 20 | $this->loadViewsFrom(base_path("resources/views"), 'storage'); |
@@ -19,12 +19,12 @@ discard block |
||
19 | 19 | // Publish our views |
20 | 20 | $this->loadViewsFrom(base_path("resources/views"), 'storage'); |
21 | 21 | $this->publishes([ |
22 | - __DIR__ . '/views' => base_path("resources/views") |
|
22 | + __DIR__ . '/views' => base_path("resources/views") |
|
23 | 23 | ]); |
24 | 24 | |
25 | 25 | // Publish our migrations |
26 | 26 | $this->publishes([ |
27 | - __DIR__ . '/migrations' => base_path("database/migrations") |
|
27 | + __DIR__ . '/migrations' => base_path("database/migrations") |
|
28 | 28 | ], 'migrations'); |
29 | 29 | |
30 | 30 | // Publish a config file |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | public function register() |
42 | 42 | { |
43 | 43 | // Bind the |
44 | - $this->app->bind('storage', function(){ |
|
44 | + $this->app->bind('storage', function() { |
|
45 | 45 | return new storage; |
46 | 46 | }); |
47 | 47 | } |
@@ -14,13 +14,13 @@ discard block |
||
14 | 14 | public function up() |
15 | 15 | { |
16 | 16 | |
17 | - Schema::create('FileGroup', function (Blueprint $table) { |
|
17 | + Schema::create('FileGroup', function(Blueprint $table) { |
|
18 | 18 | $table->increments('id'); |
19 | 19 | $table->string('name', 150); |
20 | 20 | $table->string('description', 250); |
21 | 21 | }); |
22 | 22 | |
23 | - Schema::create('File', function (Blueprint $table) { |
|
23 | + Schema::create('File', function(Blueprint $table) { |
|
24 | 24 | $table->increments('id'); |
25 | 25 | $table->string('name', 150); |
26 | 26 | $table->string('stored_name', 150); |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | $table->creation(); |
33 | 33 | }); |
34 | 34 | |
35 | - Schema::create('File_FileGroup', function (Blueprint $table) { |
|
35 | + Schema::create('File_FileGroup', function(Blueprint $table) { |
|
36 | 36 | $table->increments('id'); |
37 | 37 | $table->integer('file')->unsigned(); |
38 | 38 | $table->integer('filegroup')->unsigned(); |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | $table->foreign('filegroup')->references('id')->on('FileGroup'); |
42 | 42 | }); |
43 | 43 | |
44 | - Schema::create('File_Entity', function (Blueprint $table) { |
|
44 | + Schema::create('File_Entity', function(Blueprint $table) { |
|
45 | 45 | $table->increments('id'); |
46 | 46 | $table->integer('file')->unsigned(); |
47 | 47 |