mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Removed explicit pass-by-ref in DataExtension->validate()
Same fix as be97535b for 3.1. Makes the method signature more consistent with other DataExtension methods, and comply with its subclass implementation in Hierarchy->validate(). See accbd7f1e2 for more comments.
This commit is contained in:
parent
b31dbc0b5f
commit
a1beda14d1
@ -58,7 +58,7 @@ abstract class DataExtension extends Extension {
|
||||
* @param $validationResult Local validation result
|
||||
* @throws ValidationException
|
||||
*/
|
||||
public function validate(ValidationResult &$validationResult) {
|
||||
public function validate(ValidationResult $validationResult) {
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user