From 8a5491183743bf1c85532bbb792c19e8703a67ab Mon Sep 17 00:00:00 2001 From: Scott Aubrey Date: Thu, 7 Nov 2024 16:50:37 +0000 Subject: [PATCH] define or removed dynamically created properties --- src/ApiSdk.php | 3 +-- src/Client/Events.php | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ApiSdk.php b/src/ApiSdk.php index b1085f03..ab48ca7b 100644 --- a/src/ApiSdk.php +++ b/src/ApiSdk.php @@ -107,7 +107,6 @@ final class ApiSdk private $version; private $httpClient; - private $annotationsClient; private $articlesClient; private $bioprotocolClient; private $blogClient; @@ -131,6 +130,7 @@ final class ApiSdk private $searchClient; private $subjectsClient; private $serializer; + private $annotations; private $annualReports; private $articles; private $bioprotocols; @@ -169,7 +169,6 @@ public function __construct(HttpClient $httpClient) $this->version = $version; $this->httpClient = new UserAgentPrependingHttpClient($httpClient, 'eLifeApiSdk/'.$this->version); - $this->annotationsClient = new AnnotationsClient($this->httpClient); $this->articlesClient = new ArticlesClient($this->httpClient); $this->bioprotocolClient = new BioprotocolClient($this->httpClient); $this->blogClient = new BlogClient($this->httpClient); diff --git a/src/Client/Events.php b/src/Client/Events.php index 3577488a..b683f93e 100644 --- a/src/Client/Events.php +++ b/src/Client/Events.php @@ -23,6 +23,7 @@ final class Events implements Iterator, Sequence private $count; private $descendingOrder = true; private $show = 'all'; + private $events; private $eventsClient; private $denormalizer;