From 352929f3a2e10edfb1c5c6fc7b2c356c20e6c814 Mon Sep 17 00:00:00 2001 From: bHosted Date: Fri, 4 Feb 2022 23:59:49 +0100 Subject: [PATCH] Fix for setting empty externalId on Company --- LICENSE | 2 +- src/Responses/Company.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index b8e4b7f..dafcd28 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2016 Rob Gloudemans +Copyright (c) 2022 Marc van de Geijn Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/Responses/Company.php b/src/Responses/Company.php index ba2999f..85062c3 100644 --- a/src/Responses/Company.php +++ b/src/Responses/Company.php @@ -31,8 +31,7 @@ class Company protected bool $orderApprovalRequired = false; - protected string $externalId; - + protected ?string $externalId; public static function createFromBody( string $body ) {