Commit b8a68b1a authored by Markus Kalkbrenner's avatar Markus Kalkbrenner

Spelling of Endpoint should be consistent.

parent 2a3206ad
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
</state>
</component>
\ No newline at end of file
......@@ -99,7 +99,7 @@ class BufferedAdd extends AbstractPlugin
*
* @return string
*/
public function getEndPoint()
public function getEndpoint()
{
return $this->getOption('endpoint');
}
......@@ -223,7 +223,7 @@ class BufferedAdd extends AbstractPlugin
$this->client->getEventDispatcher()->dispatch(Events::PRE_FLUSH, $event);
$this->updateQuery->addDocuments($event->getBuffer(), $event->getOverwrite(), $event->getCommitWithin());
$result = $this->client->update($this->updateQuery, $this->getEndPoint());
$result = $this->client->update($this->updateQuery, $this->getEndpoint());
$this->clear();
$event = new PostFlushEvent($result);
......@@ -251,7 +251,7 @@ class BufferedAdd extends AbstractPlugin
$this->updateQuery->addDocuments($this->buffer, $event->getOverwrite());
$this->updateQuery->addCommit($event->getSoftCommit(), $event->getWaitSearcher(), $event->getExpungeDeletes());
$result = $this->client->update($this->updateQuery, $this->getEndPoint());
$result = $this->client->update($this->updateQuery, $this->getEndpoint());
$this->clear();
$event = new PostCommitEvent($result);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment