dcarbone / php-fhir

Tools for consuming data from a FHIR server with PHP
Apache License 2.0
129 stars 40 forks source link

Crash in PHPFHIRResponseParser: TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given #117

Closed LucidTaZ closed 5 months ago

LucidTaZ commented 5 months ago

https://github.com/dcarbone/php-fhir/blob/da0da8b6f15c273df5e253399a6fd629673278f9/template/core/classes/class_response_parser.php#L235

This line expects an array but receives a string.