Skip to content

Commit fd8845b

Browse files
authored
Merge pull request #196 from ThibBal/patch-2
Add the conflict function name in the BeanDescriptor
2 parents 6442a4e + 17697d3 commit fd8845b

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)