Skip to content

Commit 63f2c71

Browse files
committed
Fix url property in response
1 parent 65375ef commit 63f2c71

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## v1.12.2
9+
10+
### Fixed
11+
12+
- Fixed issue with the `url` property in `Mantle\Http_Client\Response` not being initialized properly.
13+
814
## v1.12.1
915

1016
### Changed

src/mantle/http-client/class-response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class Response implements ArrayAccess {
7777
/**
7878
* The request URL.
7979
*/
80-
protected readonly ?string $url;
80+
protected ?string $url = null;
8181

8282
/**
8383
* Determine if the response was created from the cache.

0 commit comments

Comments
 (0)