mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
added space after class name in InvalidArgumentException for applyMany + excludeMany
"ClassNamecan't be used to filter by a list of items." => "ClassName can't be used to filter by a list of items."
This commit is contained in:
parent
7b7a5e0312
commit
140895d355
@ -229,7 +229,7 @@ abstract class SearchFilter extends Object {
|
||||
* @return DataQuery
|
||||
*/
|
||||
protected function applyMany(DataQuery $query) {
|
||||
throw new InvalidArgumentException(get_class($this) . "can't be used to filter by a list of items.");
|
||||
throw new InvalidArgumentException(get_class($this) . " can't be used to filter by a list of items.");
|
||||
}
|
||||
|
||||
/**
|
||||
@ -265,7 +265,7 @@ abstract class SearchFilter extends Object {
|
||||
* @return DataQuery
|
||||
*/
|
||||
protected function excludeMany(DataQuery $query) {
|
||||
throw new InvalidArgumentException(get_class($this) . "can't be used to filter by a list of items.");
|
||||
throw new InvalidArgumentException(get_class($this) . " can't be used to filter by a list of items.");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user