Add missing use statement

DataConnector use statement missing.
This commit is contained in:
Stephen Vickers 2016-09-06 10:46:15 +01:00
parent 87dc9dcfca
commit 524281912b
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
<?php
namespace IMSGlobal\LTI\ToolProvider;
use IMSGlobal\LTI\ToolProvider\DataConnector;
/**
* Class to represent a tool consumer resource link share key
@ -139,7 +140,7 @@ class ResourceLinkShareKey
} else {
$this->length = max(min($this->length, self::MAX_SHARE_KEY_LENGTH), self::MIN_SHARE_KEY_LENGTH);
}
$this->id = DataConnector::getRandomString($this->length);
$this->id = DataConnector\DataConnector::getRandomString($this->length);
}
return $this->dataConnector->saveResourceLinkShareKey($this);