Skip to content

Commit f2758c8

Browse files
author
Lars Moelleken
committed
[+]: ".gitattributes" <- prevent installing special files via composer
[*]: add missing phpdoc
1 parent c35d52b commit f2758c8

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.gitattributes

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
* text=auto
2+
3+
/tests export-ignore
4+
/.gitattributes export-ignore
5+
/.gitignore export-ignore
6+
/.travis.yml export-ignore
7+
/phpunit.xml.dist export-ignore
8+
/run-tests.sh export-ignore

src/JWT.php

+1
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ public static function decode($jwt, $key, $allowed_algs = array())
130130
* If the algorithm used is asymmetric, this is the private key
131131
* @param string $alg The signing algorithm.
132132
* Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
133+
* @param mixed $keyId
133134
* @param array $head An array with header elements to attach
134135
*
135136
* @return string A signed JWT

0 commit comments

Comments
 (0)