Skip to content

Commit 1516b12

Browse files
committed
Fix style
1 parent d5c2c28 commit 1516b12

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/generator/default/dbmodel.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
*/
5050
abstract class <?= $model->getClassName() ?> extends \yii\db\ActiveRecord
5151
{
52-
<?php if($scenarios = $model->getScenarios()):
53-
foreach($scenarios as $scenario): ?>
52+
<?php if ($scenarios = $model->getScenarios()):
53+
foreach ($scenarios as $scenario): ?>
5454
/**
5555
*<?= $scenario['description'] ?>
5656

@@ -76,7 +76,7 @@ public static function tableName()
7676
{
7777
return <?= var_export($model->getTableAlias()) ?>;
7878
}
79-
<?php if($scenarios): ?>
79+
<?php if ($scenarios): ?>
8080

8181
/**
8282
* Automatically generated scenarios from the model 'x-scenarios'.
@@ -92,7 +92,7 @@ public function scenarios()
9292
$default = parent::scenarios()[self::SCENARIO_DEFAULT];
9393

9494
return [
95-
<?php foreach($scenarios as $scenario): ?>
95+
<?php foreach ($scenarios as $scenario): ?>
9696
self::<?= $scenario['const'] ?> => $default,
9797
<?php endforeach; ?>
9898
/**

src/lib/migrations/MysqlMigrationBuilder.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,5 @@ public function modifyDesiredInContextOfCurrent(ColumnSchema $current, ColumnSch
168168
*/
169169
public function checkOrder()
170170
{
171-
172171
}
173172
}

0 commit comments

Comments
 (0)