Browse files

Removed explicit pass-by-ref in DataExtension->validate()

Same fix as be97535 for 3.1. Makes the method signature
more consistent with other DataExtension methods,
and comply with its subclass implementation in
Hierarchy->validate(). See accbd7f for more comments.
  • Loading branch information...
1 parent b31dbc0 commit a1beda14d124957b4d86bd36cb83857faec032dc @chillu chillu committed Feb 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 model/DataExtension.php
View
2 model/DataExtension.php
@@ -58,7 +58,7 @@ public static function unload_extra_statics($class, $extension) {
* @param $validationResult Local validation result
* @throws ValidationException
*/
- public function validate(ValidationResult &$validationResult) {
+ public function validate(ValidationResult $validationResult) {
}
/**

0 comments on commit a1beda1

Please sign in to comment.