@@ -22,7 +22,7 @@ |
||
22 | 22 | { |
23 | 23 | $creating = []; |
24 | 24 | |
25 | - foreach($items as $item) { |
|
25 | + foreach ($items as $item) { |
|
26 | 26 | $creating[] = [ |
27 | 27 | 'fields' => $item->toArray() |
28 | 28 | ]; |
@@ -45,7 +45,7 @@ |
||
45 | 45 | [ |
46 | 46 | 'query' => $this->data, |
47 | 47 | 'headers' => [ |
48 | - 'Authorization' => 'Bearer ' . $this->apiKey |
|
48 | + 'Authorization' => 'Bearer '.$this->apiKey |
|
49 | 49 | ] |
50 | 50 | ] |
51 | 51 | ); |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | [ |
46 | 46 | 'json' => $this->data, |
47 | 47 | 'headers' => [ |
48 | - 'Authorization' => 'Bearer ' . $this->apiKey |
|
48 | + 'Authorization' => 'Bearer '.$this->apiKey |
|
49 | 49 | ] |
50 | 50 | ] |
51 | 51 | ); |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | ]); |
58 | 58 | |
59 | 59 | $records = json_decode($response->getBody()->getContents(), true); |
60 | - foreach($records['records'] as $record) { |
|
60 | + foreach ($records['records'] as $record) { |
|
61 | 61 | $idRetriver->pushId($record['id']); |
62 | 62 | } |
63 | 63 | } |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | |
38 | 38 | public function saveIds($ids) |
39 | 39 | { |
40 | - if($ids instanceof Collection) { |
|
40 | + if ($ids instanceof Collection) { |
|
41 | 41 | $ids = $ids->toArray(); |
42 | 42 | } |
43 | 43 | $this->cache->forever($this->key(), $ids); |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | private function key() |
60 | 60 | { |
61 | - return static::class . ':' . $this->baseId . ':' . $this->tableName; |
|
61 | + return static::class.':'.$this->baseId.':'.$this->tableName; |
|
62 | 62 | } |
63 | 63 | |
64 | 64 | } |
65 | 65 | \ No newline at end of file |