Skip to content

Commit 305fc0a

Browse files
fix: Fix code style in Workspaces.php
- Remove trailing whitespace - Fix spacing after cast operator Co-Authored-By: Martin Zajic <ja@mzajic.cz>
1 parent cf3b217 commit 305fc0a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/Keboola/StorageApi/Workspaces.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public function queueWorkspaceCloneInto(int $id, array $options = []): int
189189

190190
/**
191191
* Queue workspace unload operation
192-
*
192+
*
193193
* @param int $id Workspace ID
194194
* @param array $options Optional parameters (e.g., only-direct-grants)
195195
* @return array Array of job IDs
@@ -200,11 +200,11 @@ public function queueUnload(int $id, array $options = []): array
200200
if (!empty($options)) {
201201
$url .= '?' . http_build_query($options);
202202
}
203-
203+
204204
$jobs = $this->client->apiPostJson($url, [], false);
205205
assert(is_array($jobs));
206-
207-
return array_map(fn($job) => (int)$job['id'], $jobs);
206+
207+
return array_map(fn($job) => (int) $job['id'], $jobs);
208208
}
209209

210210
public function executeQuery(int $id, string $query): array

0 commit comments

Comments
 (0)