diff --git a/src/PipedriveResource.php b/src/PipedriveResource.php index a835acc..58b9b5c 100644 --- a/src/PipedriveResource.php +++ b/src/PipedriveResource.php @@ -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()); }