Completed
Push — analysis-qJdrn8 ( 8f0d9a )
by Florent
06:12 queued 03:35
created
src/Encrypter.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -508,11 +508,17 @@
 block discarded – undo
508 508
         return $content_encryption_algorithm;
509 509
     }
510 510
 
511
+    /**
512
+     * @param integer $size
513
+     */
511 514
     private function createCEK($size)
512 515
     {
513 516
         return $this->generateRandomString($size / 8);
514 517
     }
515 518
 
519
+    /**
520
+     * @param integer $size
521
+     */
516 522
     private function createIV($size)
517 523
     {
518 524
         return $this->generateRandomString($size / 8);
Please login to merge, or discard this patch.
src/Decrypter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
      * @param string                                                       $cek
125 125
      * @param \Jose\Algorithm\ContentEncryption\ContentEncryptionInterface $content_encryption_algorithm
126 126
      *
127
-     * @return \Jose\Object\JWEInterface
127
+     * @return boolean
128 128
      */
129 129
     private function decryptPayload(JWEInterface &$jwe, $cek, $content_encryption_algorithm)
130 130
     {
Please login to merge, or discard this patch.