Completed
Push — master ( 25598f...82bcfc )
by Mārtiņš
02:18
created
src/Palladium/Entity/OneTimeIdentity.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@  discard block
 block discarded – undo
17 17
     protected $type = Identity::TYPE_ONETIME;
18 18
 
19 19
 
20
+    /**
21
+     * @param string $nonce
22
+     */
20 23
     public function setNonce($nonce)
21 24
     {
22 25
         $this->nonce = (string) $nonce;
@@ -52,6 +55,9 @@  discard block
 block discarded – undo
52 55
     }
53 56
 
54 57
 
58
+    /**
59
+     * @param string $key
60
+     */
55 61
     private function makeHash($key)
56 62
     {
57 63
         $hash = password_hash($key, self::HASH_ALGO, ['cost' => self::HASH_COST]);
Please login to merge, or discard this patch.
src/Palladium/Mapper/OneTimeIdentity.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 
9 9
 use Palladium\Component\DataMapper;
10 10
 use Palladium\Entity as Entity;
11
-use PDOStatement;
12 11
 
13 12
 class OneTimeIdentity extends DataMapper
14 13
 {
Please login to merge, or discard this patch.