Completed
Branch master (3d883f)
by Milos
04:23
created
src/JoseJwt/Jwe/AesKeyWrapAlgorithm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      * @param string|resource $kek
44 44
      * @param array           $header
45 45
      *
46
-     * @return array [cek, encryptedCek]
46
+     * @return string[] [cek, encryptedCek]
47 47
      */
48 48
     public function wrapNewKey($cekSizeBits, $kek, array $header)
49 49
     {
Please login to merge, or discard this patch.
src/JoseJwt/Jwe/RsaAlgorithm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      * @param string|resource $kek
29 29
      * @param array           $header
30 30
      *
31
-     * @return array [cek, encryptedCek]
31
+     * @return string[] [cek, encryptedCek]
32 32
      */
33 33
     public function wrapNewKey($cekSizeBits, $kek, array $header)
34 34
     {
Please login to merge, or discard this patch.
src/JoseJwt/Jws/RsaUsingSha.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      * @param string $securedInput
38 38
      * @param string $key
39 39
      *
40
-     * @return bool
40
+     * @return integer
41 41
      */
42 42
     public function verify($signature, $securedInput, $key)
43 43
     {
Please login to merge, or discard this patch.
autoload.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 // if library is in dev environement with its own vendor, include its autoload
4
-if(file_exists(__DIR__ . '/vendor'))
4
+if(file_exists(__DIR__ . '/vendor')) {
5 5
     require_once __DIR__ . '/vendor/autoload.php';
6
+}
6 7
 // if library is in vendor of another project, include the global autolaod
7
-else
8
+else {
8 9
     require_once __DIR__ . '/../../autoload.php';
10
+}
Please login to merge, or discard this patch.