Skip to content

Commit b6d4abc

Browse files
authored
Add the conflict function name in the BeanDescriptor
1 parent 6442a4e commit b6d4abc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utils/BeanDescriptor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ private function getPropertiesForTable(Table $table): array
336336
foreach ($beanPropertyDescriptors as $beanDescriptor) {
337337
$name = $beanDescriptor->getGetterName();
338338
if (isset($names[$name])) {
339-
throw new TDBMException('Unsolvable name conflict while generating method name');
339+
throw new TDBMException('Unsolvable name conflict while generating method name ' . $name);
340340
} else {
341341
$names[$name] = $beanDescriptor;
342342
}

0 commit comments

Comments
 (0)