mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Removing extra ; from generated code.
This commit is contained in:
parent
ad3e5f43e0
commit
2ab3986d14
2 changed files with 2 additions and 2 deletions
|
@ -166,7 +166,7 @@ class FixtureTask extends Shell {
|
|||
if ($modelImport && $recordImport) {
|
||||
$modelImport .= ', ';
|
||||
}
|
||||
$import = sprintf("array(%s%s);\n", $modelImport, $recordImport);
|
||||
$import = sprintf("array(%s%s)", $modelImport, $recordImport);
|
||||
}
|
||||
|
||||
$this->_Schema = new CakeSchema();
|
||||
|
|
|
@ -29,7 +29,7 @@ class <?php echo $model; ?>Fixture extends CakeTestFixture {
|
|||
<?php endif; ?>
|
||||
<?php if ($import): ?>
|
||||
var $import = <?php echo $import; ?>;
|
||||
<?php endif;?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($schema): ?>
|
||||
var $fields = <?php echo $schema; ?>;
|
||||
|
|
Loading…
Reference in a new issue