Skip to content

Commit 1761a10

Browse files
alexeevdvsamdark
authored andcommitted
Added phpdoc to migration template [skip ci]
1 parent 0c0cc10 commit 1761a10

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

framework/views/migration.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,22 @@
1414

1515
use yii\db\Migration;
1616

17+
/**
18+
* Class <?= $className . "\n" ?>
19+
*/
1720
class <?= $className ?> extends Migration
1821
{
22+
/**
23+
* @inheritdoc
24+
*/
1925
public function safeUp()
2026
{
2127

2228
}
2329

30+
/**
31+
* @inheritdoc
32+
*/
2433
public function safeDown()
2534
{
2635
echo "<?= $className ?> cannot be reverted.\n";

0 commit comments

Comments
 (0)