@@ 125-131 (lines=7) @@ | ||
122 | * @see \JWX\JWT\Header\HeaderParameters::headerParameters() |
|
123 | * @return JWTParameter[] |
|
124 | */ |
|
125 | public function headerParameters() { |
|
126 | $params = array(); |
|
127 | if (isset($this->_keyID)) { |
|
128 | $params[] = new KeyIDParameter($this->_keyID); |
|
129 | } |
|
130 | return $params; |
|
131 | } |
|
132 | } |
|
133 |
@@ 76-82 (lines=7) @@ | ||
73 | * @see \JWX\JWT\Header\HeaderParameters::headerParameters() |
|
74 | * @return JWTParameter[] |
|
75 | */ |
|
76 | public function headerParameters() { |
|
77 | $params = array(); |
|
78 | if (isset($this->_keyID)) { |
|
79 | $params[] = new KeyIDParameter($this->_keyID); |
|
80 | } |
|
81 | return $params; |
|
82 | } |
|
83 | } |
|
84 |