summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitattributes8
-rw-r--r--src/JWT.php1
2 files changed, 9 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..c682f86
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,8 @@
+* text=auto
+
+/tests export-ignore
+/.gitattributes export-ignore
+/.gitignore export-ignore
+/.travis.yml export-ignore
+/phpunit.xml.dist export-ignore
+/run-tests.sh export-ignore
diff --git a/src/JWT.php b/src/JWT.php
index 66b2788..7228e96 100644
--- a/src/JWT.php
+++ b/src/JWT.php
@@ -140,6 +140,7 @@ class JWT
* If the algorithm used is asymmetric, this is the private key
* @param string $alg The signing algorithm.
* Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
+ * @param mixed $keyId
* @param array $head An array with header elements to attach
*
* @return string A signed JWT