Skip to content

Commit 2781026

Browse files
committed
revert method names
1 parent 1d46b7f commit 2781026

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Propel/Generator/Model/CrossForeignKeys.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function getIncomingForeignKey()
132132
*
133133
* @return bool
134134
*/
135-
public function isAtLeastOneLocalColumnNotCovered(ForeignKey $fk)
135+
public function isAtLeastOneLocalPrimaryKeyNotCovered(ForeignKey $fk)
136136
{
137137
$primaryKeys = $fk->getLocalColumnObjects();
138138
foreach ($primaryKeys as $primaryKey) {

src/Propel/Generator/Model/ForeignKey.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ public function isAtLeastOneLocalColumnRequired()
800800
*
801801
* @return bool
802802
*/
803-
public function isAtLeastOneLocalColumnIsRequired()
803+
public function isAtLeastOneLocalPrimaryKeyIsRequired()
804804
{
805805
foreach ($this->getLocalColumnObjects() as $pk) {
806806
if ($pk->isNotNull() && !$pk->hasDefaultValue()) {

0 commit comments

Comments
 (0)