We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dc6262 commit 8708379Copy full SHA for 8708379
src/WithoutOverlapping.php
@@ -27,7 +27,7 @@ protected function initializeMutex()
27
28
public function getMutexStrategy()
29
{
30
- return (property_exists($this, 'mutexStrategy') ? $this->mutexStrategy : 'file');
+ return property_exists($this, 'mutexStrategy') ? $this->mutexStrategy : 'file';
31
}
32
33
public function setMutexStrategy($strategy)
@@ -37,7 +37,7 @@ public function setMutexStrategy($strategy)
37
38
public function getMutexTimeout()
39
40
- return (property_exists($this, 'mutexTimeout') ? $this->mutexTimeout : 0);
+ return property_exists($this, 'mutexTimeout') ? $this->mutexTimeout : 0;
41
42
43
public function setMutexTimeout($timeout)
0 commit comments