From 0e7d3c84331c817fa4ef4ee45b71c3c7b2e9fdb2 Mon Sep 17 00:00:00 2001 From: Erik Norgren Date: Mon, 25 Apr 2016 11:55:57 +0200 Subject: [PATCH] Forgot to remove a '= null' from the implementation of the has repository function. --- src/Roave/NonceUtility/Repository/NonceRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Roave/NonceUtility/Repository/NonceRepository.php b/src/Roave/NonceUtility/Repository/NonceRepository.php index 75ed7ed..390f79b 100644 --- a/src/Roave/NonceUtility/Repository/NonceRepository.php +++ b/src/Roave/NonceUtility/Repository/NonceRepository.php @@ -83,7 +83,7 @@ public function getUnassociated($nonce, $namespace = 'default') /** * {@Inheritdoc} */ - public function has(NonceOwnerInterface $owner = null, $nonce, $namespace = 'default') + public function has(NonceOwnerInterface $owner, $nonce, $namespace = 'default') { return $this->get($owner, $nonce, $namespace) !== null; }