@@ -20,11 +20,11 @@ |
||
20 | 20 | |
21 | 21 | return [ |
22 | 22 | 'default' => [ |
23 | - 'host' => getenv('CLUSTERPOINT_HOST'), |
|
24 | - 'account_id' => getenv('CLUSTERPOINT_ACCOUNT_ID'), |
|
25 | - 'username' => getenv('CLUSTERPOINT_USERNAME'), |
|
26 | - 'password' => getenv('CLUSTERPOINT_PASSWORD'), |
|
27 | - 'debug' => getenv('CLUSTERPOINT_DEBUG_MODE'), |
|
23 | + 'host' => getenv('CLUSTERPOINT_HOST'), |
|
24 | + 'account_id' => getenv('CLUSTERPOINT_ACCOUNT_ID'), |
|
25 | + 'username' => getenv('CLUSTERPOINT_USERNAME'), |
|
26 | + 'password' => getenv('CLUSTERPOINT_PASSWORD'), |
|
27 | + 'debug' => getenv('CLUSTERPOINT_DEBUG_MODE'), |
|
28 | 28 | ], |
29 | 29 | 'development' => [ |
30 | 30 | 'host' => 'https://api-eu.clusterpoint.com/v4/', |
@@ -18,8 +18,8 @@ |
||
18 | 18 | $client = $this->getClient(); |
19 | 19 | } |
20 | 20 | return (new Finder($client)) |
21 | - ->database($this->getDatabaseName()) |
|
22 | - ->from($this->getResourceName()); |
|
21 | + ->database($this->getDatabaseName()) |
|
22 | + ->from($this->getResourceName()); |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | public function validateUniqueFields() |
@@ -40,10 +40,10 @@ |
||
40 | 40 | |
41 | 41 | protected function addWhereGroup($collection, $conditions, $logical) |
42 | 42 | { |
43 | - /** |
|
44 | - * @codeCoverageIgnore |
|
45 | - * Passing anonymous function to Clusterpoint API |
|
46 | - */ |
|
43 | + /** |
|
44 | + * @codeCoverageIgnore |
|
45 | + * Passing anonymous function to Clusterpoint API |
|
46 | + */ |
|
47 | 47 | return function ($collection) use ($conditions, $logical) { |
48 | 48 | $this->parseWhere($collection, $conditions, $logical); |
49 | 49 | }; |
@@ -18,8 +18,8 @@ |
||
18 | 18 | $client = $this->getClient(); |
19 | 19 | } |
20 | 20 | return (new Finder($client)) |
21 | - ->database($this->getDatabaseName()) |
|
22 | - ->from($this->getResourceName()); |
|
21 | + ->database($this->getDatabaseName()) |
|
22 | + ->from($this->getResourceName()); |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | public function validateUniqueFields() |