Completed
Push — master ( 67a2f2...6da5f6 )
by Joao
03:19
created
src/todoServiceProvider.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"), 'todo');
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"), 'todo');
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('todo', function(){
44
+        $this->app->bind('todo', function() {
45 45
             return new todo;
46 46
         });
47 47
     }
Please login to merge, or discard this patch.
src/Migrations/2016_01_18_000000_create_to_do_list_tables.php 1 patch
Spacing   +6 added lines, -6 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('Task', function (Blueprint $table) {
17
+        Schema::create('Task', function(Blueprint $table) {
18 18
             $table->increments('id');
19 19
             $table->string('title', 50);
20 20
             $table->string('description', 250)->nullable();
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
             $table->softDeletes();
24 24
         });
25 25
 
26
-        Schema::create('TaskList', function (Blueprint $table) {
26
+        Schema::create('TaskList', function(Blueprint $table) {
27 27
             $table->increments('id');
28 28
             $table->string('name', 50);
29 29
             $table->string('description', 250)->nullable();
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
             $table->softDeletes();
32 32
         });
33 33
 
34
-        Schema::create('Task_TaskList', function (Blueprint $table) {
34
+        Schema::create('Task_TaskList', function(Blueprint $table) {
35 35
             $table->increments('id');
36 36
             $table->integer('task')->unsigned();
37 37
             $table->integer('tasklist')->unsigned();
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             $table->foreign('tasklist')->references('id')->on('TaskList');
42 42
         });
43 43
 
44
-        Schema::create('Task_User', function (Blueprint $table) {
44
+        Schema::create('Task_User', function(Blueprint $table) {
45 45
             $table->increments('id');
46 46
             $table->integer('task')->unsigned();
47 47
             $table->integer('user')->unsigned();
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             $table->foreign('user')->references('id')->on('User');
51 51
         });
52 52
 
53
-        Schema::create('TaskList_User', function (Blueprint $table) {
53
+        Schema::create('TaskList_User', function(Blueprint $table) {
54 54
             $table->increments('id');
55 55
             $table->integer('tasklist')->unsigned();
56 56
             $table->integer('user')->unsigned();
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
             $table->foreign('user')->references('id')->on('User');
60 60
         });
61 61
 
62
-        Schema::create('TaskLog', function (Blueprint $table) {
62
+        Schema::create('TaskLog', function(Blueprint $table) {
63 63
             $table->increments('id');
64 64
             $table->integer('task')->unsigned();
65 65
             $table->tinyInteger('status');
Please login to merge, or discard this patch.