`Repository`: Return null if conversion rules is empty in `getConverter()`
In case the conversion rules to apply on the repository query is not defined return null in `Repository::getConverter()`.
This commit is contained in:
parent
aa5db51e77
commit
201706614d
|
@ -791,7 +791,7 @@ abstract class Repository implements Selectable
|
|||
{
|
||||
$conversionRules = $this->getConversionRules();
|
||||
if (! isset($conversionRules[$table])) {
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
|
||||
$tableRules = $conversionRules[$table];
|
||||
|
|
Loading…
Reference in New Issue