Completed
Branch master (dd6c5a)
by Joao
02:52
created
src/storageServiceProvider.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,12 +19,12 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Migrations/2016_01_15_001300_create_storage_tables.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     public function up()
15 15
     {
16 16
 
17
-        Schema::create('File', function (Blueprint $table) {
17
+        Schema::create('File', function(Blueprint $table) {
18 18
             $table->increments('id');
19 19
             $table->string('name', 150);
20 20
             $table->string('stored_name', 150);
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
             $table->foreign('uploaded_by')->references('id')->on('User');
30 30
         });
31 31
 
32
-        Schema::create('FileGroup', function (Blueprint $table) {
32
+        Schema::create('FileGroup', function(Blueprint $table) {
33 33
             $table->increments('id');
34 34
             $table->string('name', 150);
35 35
             $table->string('description', 250);
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
             $table->softDeletes();
38 38
         });
39 39
 
40
-        Schema::create('File_FileGroup', function (Blueprint $table) {
40
+        Schema::create('File_FileGroup', function(Blueprint $table) {
41 41
             $table->increments('id');
42 42
             $table->integer('file')->unsigned();
43 43
             $table->integer('filegroup')->unsigned();
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             $table->foreign('filegroup')->references('id')->on('FileGroup');
47 47
         });
48 48
 
49
-        Schema::create('File_Tag', function (Blueprint $table) {
49
+        Schema::create('File_Tag', function(Blueprint $table) {
50 50
             $table->increments('id');
51 51
             $table->integer('file')->unsigned();
52 52
             $table->integer('tag')->unsigned();
Please login to merge, or discard this patch.