Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
nunoxavier authored and github-actions[bot] committed Jun 14, 2024
1 parent e4ce0e7 commit fe215a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Helpers/Locker/Locker.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function lock(?Closure $closure = null): bool|string
if ($lock->block($this->waitForLock, $closure)) {
$this->owner = $lock->owner();

return (string)$this->owner;
return (string) $this->owner;
}
} catch (LockTimeoutException $exception) {
if ($this->executedIfAlreadyLocked && $closure) {
Expand Down Expand Up @@ -181,7 +181,7 @@ public function isLocked(): bool
*/
public function restore(): Lock
{
return Cache::restoreLock($this->getId(), (string)$this->owner);
return Cache::restoreLock($this->getId(), (string) $this->owner);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Helpers/RateLimiterHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct(
/**
* Forwards the call to the RateLimiter instance.
*
* @param array<int|string, mixed> $arguments
* @param array<int|string, mixed> $arguments
* @return mixed
*/
public function __call(string $name, array $arguments)
Expand Down

0 comments on commit fe215a7

Please sign in to comment.