diff --git a/src/Zoonman/Pixabay/PixabayClient.php b/src/Zoonman/Pixabay/PixabayClient.php index 892f7f1..a5a8aa8 100644 --- a/src/Zoonman/Pixabay/PixabayClient.php +++ b/src/Zoonman/Pixabay/PixabayClient.php @@ -77,7 +77,8 @@ public function __construct(array $options) * @param array $options * @param bool $resetOptions */ - private function parseOptions(array $options, $resetOptions = false) { + private function parseOptions(array $options, $resetOptions = false) + { foreach ($this->optionsList as $option) { if (isset($options[$option])) { $this->options[$option] = $options[$option]; @@ -95,7 +96,8 @@ private function parseOptions(array $options, $resetOptions = false) { * @param bool $resetOptions * @return mixed */ - public function get(array $options = [], $returnObject = false, $resetOptions = false) { + public function get(array $options = [], $returnObject = false, $resetOptions = false) + { $this->parseOptions($options, $resetOptions); $response = $this->client->get(null, ['query' => $this->options]); return $response->json(['object' => $returnObject]);