Skip to content

Commit 19860fa

Browse files
Merge pull request #82 from voku/master
".gitattributes" <- prevent installing special files via composer
2 parents b1816ba + f2758c8 commit 19860fa

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.gitattributes

Lines changed: 8 additions & 0 deletions
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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ public static function decode($jwt, $key, $allowed_algs = array())
140140
* If the algorithm used is asymmetric, this is the private key
141141
* @param string $alg The signing algorithm.
142142
* Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
143+
* @param mixed $keyId
143144
* @param array $head An array with header elements to attach
144145
*
145146
* @return string A signed JWT

0 commit comments

Comments
 (0)