Skip to content
This repository was archived by the owner on Nov 1, 2022. It is now read-only.

Commit 0e7d3c8

Browse files
committed
Forgot to remove a '= null' from the implementation of the has repository function.
1 parent 55698f6 commit 0e7d3c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Roave/NonceUtility/Repository/NonceRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function getUnassociated($nonce, $namespace = 'default')
8383
/**
8484
* {@Inheritdoc}
8585
*/
86-
public function has(NonceOwnerInterface $owner = null, $nonce, $namespace = 'default')
86+
public function has(NonceOwnerInterface $owner, $nonce, $namespace = 'default')
8787
{
8888
return $this->get($owner, $nonce, $namespace) !== null;
8989
}

0 commit comments

Comments
 (0)