Skip to content

Commit f0b9102

Browse files
committed
fix return type for colums
1 parent 7a4ecc4 commit f0b9102

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/vendor/propel-generator/classes/propel/engine/builder/om/php5/PHP5BasicObjectBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1585,9 +1585,9 @@ public function copyInto(\$copyObj)
15851585
/** @var Unique $unice **/
15861586
foreach ($table->getUnices() as $unice) {
15871587
$uniceCols = $unice->getColumns();
1588-
/** @var Column $uniceCol */
1588+
/** @var string $uniceCol */
15891589
foreach ($uniceCols as $uniceCol) {
1590-
$ucols[] = $uniceCol->getName();
1590+
$ucols[] = $uniceCol;
15911591
}
15921592
}
15931593

lib/vendor/propel-generator/classes/propel/engine/builder/om/php5/PHP5ComplexObjectBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,9 +1251,9 @@ public function copyInto(\$copyObj, bool \$deepCopy = false)
12511251
foreach ($table->getUnices() as $unice) {
12521252

12531253
$uniceCols = $unice->getColumns();
1254-
/** @var Column $uniceCol */
1254+
/** @var string $uniceCol */
12551255
foreach ($uniceCols as $uniceCol) {
1256-
$ucols[] = $uniceCol->getName();
1256+
$ucols[] = $uniceCol;
12571257
}
12581258

12591259
}

0 commit comments

Comments
 (0)