1 | <?php |
||
7 | class CreateTelescopeEntriesTable extends Migration |
||
8 | { |
||
9 | /** |
||
10 | * The database schema. |
||
11 | * |
||
12 | * @var Schema |
||
13 | */ |
||
14 | protected $schema; |
||
15 | |||
16 | /** |
||
17 | * Create a new migration instance. |
||
18 | * |
||
19 | * @return void |
||
|
|||
20 | */ |
||
21 | public function __construct() |
||
27 | |||
28 | /** |
||
29 | * Run the migrations. |
||
30 | * |
||
31 | * @return void |
||
32 | */ |
||
33 | public function up() |
||
73 | |||
74 | /** |
||
75 | * Reverse the migrations. |
||
76 | * |
||
77 | * @return void |
||
78 | */ |
||
79 | public function down() |
||
85 | } |
||
86 |
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.