Commit b1beae71 by João José

Fixed format

parent de1df945
......@@ -436,7 +436,7 @@ class Generator extends \yii\gii\Generator
if (get_parent_class(new $class) == 'yii\mongodb\ActiveRecord') {
return "'id' => (string)\$model->{$pks[0]}";
} else {
return "'id' => \$model->{$pks[0]}";
return "'id' => \$model->{$pks[0]}";
}
} else {
$params = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment