Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbosco committed Dec 28, 2020
1 parent 15a3eb9 commit 31c9b02
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/ApiCall.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ class ApiCall
*/
public function __construct(Configuration $config)
{
$this->config = $config;
$this->logger = $config->getLogger();
$this->client = $config->getClient();
$this->config = $config;
$this->logger = $config->getLogger();
$this->client = $config->getClient();
static::$nodes = $this->config->getNodes();
static::$nearestNode = $this->config->getNearestNode();
$this->nodeIndex = 0;
$this->nodeIndex = 0;
$this->initializeNodes();
}

Expand Down
2 changes: 1 addition & 1 deletion src/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function __construct(string $name, ApiCall $apiCall)
$this->apiCall = $apiCall;
$this->documents = new Documents($name, $this->apiCall);
$this->overrides = new Overrides($name, $this->apiCall);
$this->synonyms = new Synonyms($name, $this->apiCall);
$this->synonyms = new Synonyms($name, $this->apiCall);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Synonym.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Synonym
public function __construct(string $collectionName, string $synonymId, ApiCall $apiCall)
{
$this->collectionName = $collectionName;
$this->synonymId = $synonymId;
$this->synonymId = $synonymId;
$this->apiCall = $apiCall;
}

Expand Down

0 comments on commit 31c9b02

Please sign in to comment.