From 2a15f91e874a31a92bab9e95ff0440fea663ef70 Mon Sep 17 00:00:00 2001 From: Philip Gichuhi Date: Thu, 2 Nov 2023 05:23:44 +0300 Subject: [PATCH] Init url template to empty string --- CHANGELOG.md | 5 +++++ src/Constants.php | 2 +- src/RequestInformation.php | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f03e27c..923632f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +## [1.0.1] + +### Changed +- Initialises URL Template in Request Information to empty string. [#111](https://github.com/microsoft/kiota-abstractions-php/pull/111) + ## [1.0.0] - 2023-11-01 ### Changed diff --git a/src/Constants.php b/src/Constants.php index 0e3cbe7..ac48f7b 100644 --- a/src/Constants.php +++ b/src/Constants.php @@ -4,5 +4,5 @@ final class Constants { - public const VERSION = '1.0.0'; + public const VERSION = '1.0.1'; } diff --git a/src/RequestInformation.php b/src/RequestInformation.php index 5ecf1e4..b9682d9 100644 --- a/src/RequestInformation.php +++ b/src/RequestInformation.php @@ -17,7 +17,7 @@ class RequestInformation { /** @var string $RAW_URL_KEY */ public static string $RAW_URL_KEY = 'request-raw-url'; /** @var string $urlTemplate The url template for the current request */ - public string $urlTemplate; + public string $urlTemplate = ''; /** * The path parameters for the current request * @var array $pathParameters