From 002707bb0696b5d1e768e0a98fa1ac5200057049 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 6 Aug 2026 11:08:29 +0200 Subject: [PATCH] Fix newly reported PHPStan errors --- src/JsonSchemaExtractor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/JsonSchemaExtractor.php b/src/JsonSchemaExtractor.php index 984be04..fa6ceed 100644 --- a/src/JsonSchemaExtractor.php +++ b/src/JsonSchemaExtractor.php @@ -192,7 +192,7 @@ private static function remote_get( $url ) { return ''; } - $headers = [ 'Content-type: application/json' ]; + $headers = [ 'Content-Type' => 'application/json' ]; $options = [ 'halt_on_error' => false ]; $response = Utils\http_request( 'GET', $url, null, $headers, $options );