Completed
Push — add/premium-content-block ( a4fe10 )
by
unknown
120:18 queued 112:13
created
extensions/blocks/premium-content/_inc/subscription-service/class-jwt.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
 	 * Sign a string with a given key and algorithm.
198 198
 	 *
199 199
 	 * @param string          $msg    The message to sign
200
-	 * @param string|resource $key    The secret key
200
+	 * @param string $key    The secret key
201 201
 	 * @param string          $alg    The signing algorithm.
202 202
 	 *                                Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
203 203
 	 *
Please login to merge, or discard this patch.
_inc/subscription-service/class-token-subscription-service.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
 	/**
150 150
 	 * Get the token stored in the auth cookie.
151 151
 	 *
152
-	 * @return ?string
152
+	 * @return string
153 153
 	 */
154 154
 	private function token_from_cookie() {
155 155
 		if ( isset( $_COOKIE[ self::JWT_AUTH_TOKEN_COOKIE_NAME ] ) ) {
Please login to merge, or discard this patch.