mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-15 22:09:48 +08:00
Fixed typo and code style
This commit is contained in:
@@ -225,7 +225,7 @@ abstract class Generator extends Model
|
||||
{
|
||||
$lines = array('Generating code using template "' . $this->getTemplatePath() . '"...');
|
||||
$hasError = false;
|
||||
foreach ($files as $file) {;
|
||||
foreach ($files as $file) {
|
||||
$relativePath = $file->getRelativePath();
|
||||
if (isset($answers[$file->id]) && $file->operation !== CodeFile::OP_SKIP) {
|
||||
$error = $file->save();
|
||||
|
||||
Reference in New Issue
Block a user