Skip to content

Commit

Permalink
Merge pull request #267 from elifesciences/fix-dynamically-created-pr…
Browse files Browse the repository at this point in the history
…operties

define or remove dynamically created properties
  • Loading branch information
scottaubrey authored Nov 7, 2024
2 parents d9ea575 + 8a54911 commit 59e4132
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/ApiSdk.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ final class ApiSdk

private $version;
private $httpClient;
private $annotationsClient;
private $articlesClient;
private $bioprotocolClient;
private $blogClient;
Expand All @@ -131,6 +130,7 @@ final class ApiSdk
private $searchClient;
private $subjectsClient;
private $serializer;
private $annotations;
private $annualReports;
private $articles;
private $bioprotocols;
Expand Down Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions src/Client/Events.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ final class Events implements Iterator, Sequence
private $count;
private $descendingOrder = true;
private $show = 'all';
private $events;
private $eventsClient;
private $denormalizer;

Expand Down

0 comments on commit 59e4132

Please sign in to comment.