Skip to content

Commit 418f343

Browse files
committed
Whitespace fixes to appease the linter and my OCD.
1 parent c00d933 commit 418f343

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/OpenCloud/ObjectStore/Resource/Container.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,13 @@ public function deleteWithObjects($secondsToWait = null)
184184
if (0 === $numObjects) {
185185
return $this->delete();
186186
}
187+
187188
// If timeout ($secondsToWait) is not specified by caller,
188189
// try to estimate it based on number of objects in container
189190
if (null === $secondsToWait) {
190191
$secondsToWait = round($numObjects / 2);
191-
}
192+
}
193+
192194
// Attempt to delete all objects and container
193195
$endTime = time() + $secondsToWait;
194196
$containerDeleted = false;
@@ -208,9 +210,11 @@ public function deleteWithObjects($secondsToWait = null)
208210
}
209211
}
210212
}
213+
211214
if (!$containerDeleted) {
212215
throw new ContainerException('Container could not be deleted.');
213216
}
217+
214218
return $response;
215219
}
216220

0 commit comments

Comments
 (0)