Skip to content

Commit

Permalink
method name
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Nov 1, 2022
1 parent 243a8f9 commit ac3252a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Console/CacheCommandMutex.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ public function create($command)
return $this->cache->store($this->store)->add(
$this->commandMutexName($command),
true,
method_exists($command, 'isolationExpiresAt')
? $command->isolationExpiresAt()
method_exists($command, 'isolationLockExpiresAt')
? $command->isolationLockExpiresAt()
: CarbonInterval::hour(),
);
}
Expand Down

0 comments on commit ac3252a

Please sign in to comment.