Skip to content

Commit

Permalink
Removed explicit pass-by-ref in DataExtension->validate()
Browse files Browse the repository at this point in the history
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
chillu committed Feb 6, 2013
1 parent b31dbc0 commit a1beda1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/DataExtension.php
Expand Up @@ -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) {
}

/**
Expand Down

0 comments on commit a1beda1

Please sign in to comment.