Browse Source

erm, forgot one

pull/507/head
qadan 11 years ago
parent
commit
8b11d4a051
  1. 2
      tests/includes/datastream_validators.inc

2
tests/includes/datastream_validators.inc

@ -343,7 +343,7 @@ class TextDatastreamValidator extends DatastreamValidator {
/** /**
* Constructor override; blow up if we don't have our two values. * Constructor override; blow up if we don't have our two values.
*/ */
public function __construct(IslandoraFedoraObject $object, $datastream, array $params = array()) { public function __construct($object, $datastream, array $params = array()) {
if (count($params) < 2) { if (count($params) < 2) {
throw new InvalidArgumentException('$params must contain at least two values to instantiate a TextDatastreamValidator.'); throw new InvalidArgumentException('$params must contain at least two values to instantiate a TextDatastreamValidator.');
} }

Loading…
Cancel
Save