AdobeConnectClient\Helpers\HeaderParse::parse
Parse an array of header values containing ";" separated data into an array of associative arrays representing the header key value pair data of the header. When a parameter does not contain a value, but just contains a key, this function will inject a key with a '' string value.
Signature
public function parse(string|array
$header )
Parameters
$header
— object- Header to parse into components.
Returns
- array
- Returns the parsed header values.
Test Coverage
Information
- Coverage: / Lines (%)
- Tests: 0
- Passed: 0 (0%)
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
34 - 36 | ElseExpression | The method parse uses an else expression. Else is never necessary and you can simplify the code to work without else. |