summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@owncloud.com>2016-04-29 16:31:27 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-05-11 13:36:46 +0200
commitfbb5768587cc0ba5daefc391003ce0177970c5b8 (patch)
treec67d4918654fa12c6121a7d57eb926ccfd2ef07a /core
parent699289cd26d3101c18b72e287de77282c782c9cc (diff)
downloadnextcloud-server-fbb5768587cc0ba5daefc391003ce0177970c5b8.tar.gz
nextcloud-server-fbb5768587cc0ba5daefc391003ce0177970c5b8.zip
add unit tests for all new classes
Diffstat (limited to 'core')
-rw-r--r--core/Controller/TokenController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Controller/TokenController.php b/core/Controller/TokenController.php
index d1d7b50d084..db48ea27b99 100644
--- a/core/Controller/TokenController.php
+++ b/core/Controller/TokenController.php
@@ -47,14 +47,14 @@ class TokenController extends Controller {
* @param IRequest $request
* @param Manager $userManager
* @param DefaultTokenProvider $tokenProvider
- * @param ISecureRandom $crypto
+ * @param ISecureRandom $secureRandom
*/
public function __construct($appName, IRequest $request, Manager $userManager, DefaultTokenProvider $tokenProvider,
- ISecureRandom $crypto) {
+ ISecureRandom $secureRandom) {
parent::__construct($appName, $request);
$this->userManager = $userManager;
$this->tokenProvider = $tokenProvider;
- $this->secureRandom = $crypto;
+ $this->secureRandom = $secureRandom;
}
/**