Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
DerJacques authored and StyleCIBot committed Mar 28, 2017
1 parent 086643f commit 0a03ba3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/PipedriveResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,18 +107,18 @@ private function saveRelationships($parentId)
}
}

private function checkConfiguration() {
private function checkConfiguration()
{
if (is_null($this->client) || is_null($this->token)) {
throw InvalidConfiguration::noClientProvided();
}
}

private function sendRequest() {
private function sendRequest()
{
if ($this->isNew()) {
$response = $this->create($this->toPipedriveArray());
}

else {
} else {
$response = $this->update($this->toPipedriveArray());
}

Expand Down

0 comments on commit 0a03ba3

Please sign in to comment.