Remove deprecated call to GuzzleHttp\headers_from_lines()

Created on 9 January 2024, 11 months ago
Updated 20 February 2024, 10 months ago

phpstan reports "Call to deprecated function GuzzleHttp\headers_from_lines(): headers_from_lines will be removed in guzzlehttp/guzzle:8.0. Use Utils::headersFromLines instead."

The line: headers_from_lines($solarium_result->getResponse()->getHeaders());

Should probably be: $solarium_result->getResponse()->getHeaders()->headersFromLines();

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇨🇦Canada mvc Montréal, CA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024