@@ -30,9 +30,9 @@ |
||
30 | 30 | } |
31 | 31 | |
32 | 32 | /** |
33 | - * @param $name |
|
34 | - * @param $code |
|
35 | - * @param $lective |
|
33 | + * @param string $name |
|
34 | + * @param integer $code |
|
35 | + * @param boolean $lective |
|
36 | 36 | */ |
37 | 37 | private function createDay($name, $code, $lective) |
38 | 38 | { |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use Illuminate\Support\Facades\Schema; |
|
4 | -use Illuminate\Database\Schema\Blueprint; |
|
5 | 3 | use Illuminate\Database\Migrations\Migration; |
4 | +use Illuminate\Database\Schema\Blueprint; |
|
5 | +use Illuminate\Support\Facades\Schema; |
|
6 | 6 | |
7 | 7 | /** |
8 | 8 | * Class CreateShiftsTable |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use Illuminate\Support\Facades\Schema; |
|
4 | -use Illuminate\Database\Schema\Blueprint; |
|
5 | 3 | use Illuminate\Database\Migrations\Migration; |
4 | +use Illuminate\Database\Schema\Blueprint; |
|
5 | +use Illuminate\Support\Facades\Schema; |
|
6 | 6 | |
7 | 7 | /** |
8 | 8 | * Class CreateDaysTable |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use Illuminate\Support\Facades\Schema; |
|
4 | -use Illuminate\Database\Schema\Blueprint; |
|
5 | 3 | use Illuminate\Database\Migrations\Migration; |
4 | +use Illuminate\Database\Schema\Blueprint; |
|
5 | +use Illuminate\Support\Facades\Schema; |
|
6 | 6 | |
7 | 7 | class CreateTimeslotsTable extends Migration |
8 | 8 | { |
@@ -25,9 +25,10 @@ |
||
25 | 25 | } |
26 | 26 | |
27 | 27 | /** |
28 | - * @param $name |
|
28 | + * @param string $name |
|
29 | 29 | * @param $code |
30 | 30 | * @param $lective |
31 | + * @param string $torn |
|
31 | 32 | */ |
32 | 33 | private function createShift($torn, $name) |
33 | 34 | { |
@@ -35,9 +35,11 @@ |
||
35 | 35 | } |
36 | 36 | |
37 | 37 | /** |
38 | - * @param $name |
|
38 | + * @param string $name |
|
39 | 39 | * @param $code |
40 | 40 | * @param $lective |
41 | + * @param string $init_hour |
|
42 | + * @param string $final_hour |
|
41 | 43 | */ |
42 | 44 | private function createTimeslot($name, $init_hour, $final_hour) |
43 | 45 | { |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use Illuminate\Support\Facades\Schema; |
|
4 | -use Illuminate\Database\Schema\Blueprint; |
|
5 | 3 | use Illuminate\Database\Migrations\Migration; |
4 | +use Illuminate\Database\Schema\Blueprint; |
|
5 | +use Illuminate\Support\Facades\Schema; |
|
6 | 6 | |
7 | 7 | /** |
8 | 8 | * Class CreateLessonsTable. |
@@ -29,7 +29,7 @@ |
||
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
32 | - * @param $name |
|
32 | + * @param string $name |
|
33 | 33 | * @param $code |
34 | 34 | * @param $lective |
35 | 35 | */ |
@@ -30,9 +30,10 @@ |
||
30 | 30 | } |
31 | 31 | |
32 | 32 | /** |
33 | - * @param $name |
|
33 | + * @param string $name |
|
34 | 34 | * @param $code |
35 | 35 | * @param $lective |
36 | + * @param string $description |
|
36 | 37 | */ |
37 | 38 | private function createLocation($name, $description) |
38 | 39 | { |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Scool\Timetables\Database\Seeds; |
4 | 4 | |
5 | -use Scool\Timetables\Models\Location; |
|
6 | 5 | use Illuminate\Database\Seeder; |
6 | +use Scool\Timetables\Models\Location; |
|
7 | 7 | |
8 | 8 | |
9 | 9 | /** |