DbObject: make key name obvious when setting...

...an invalid property
This commit is contained in:
Thomas Gelf 2019-09-16 10:43:21 +02:00
parent 501f76c368
commit 1e893e1bc7

View File

@ -317,7 +317,7 @@ abstract class DbObject
if (! $this->hasProperty($key)) {
throw new InvalidArgumentException(sprintf(
'Trying to set invalid key %s',
'Trying to set invalid key "%s"',
$key
));
}