@@ -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"), 'todo'); |
@@ -19,12 +19,12 @@ discard block |
||
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 |
||
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 | } |
@@ -14,7 +14,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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'); |