Skip to content

A self-hosted media server and file management system

chore: pint

aminnausinc2fd7e9af729
diff --git a/app/Jobs/EmbedUidInMetadata.php b/app/Jobs/EmbedUidInMetadata.php
index 22233cf6..157e428e 100644
--- a/app/Jobs/EmbedUidInMetadata.php
+++ b/app/Jobs/EmbedUidInMetadata.php
@@ -42,7 +42,9 @@ class EmbedUidInMetadata extends ManagedSubTask {
* Execute the job.
*/
public function handle(TaskService $taskService, ServerConfigService $config): void {
- if (!$this->beginSubTask($taskService, "Adding uuid to $this->filePath")) return;
+ if (! $this->beginSubTask($taskService, "Adding uuid to $this->filePath")) {
+ return;
+ }
try {
$summary = $this->handleEmbed($config);