Skip to content

Commit 8c529ee

Browse files
committed
ICM: Made getters to use similar logic.
1 parent e8cc2ce commit 8c529ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WithoutOverlapping.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ protected function initializeMutex()
2727

2828
public function getMutexStrategy()
2929
{
30-
return (isset($this->mutexStrategy) ? $this->mutexStrategy : 'file');
30+
return (property_exists($this, 'mutexStrategy') ? $this->mutexStrategy : 'file');
3131
}
3232

3333
public function setMutexStrategy($strategy)

0 commit comments

Comments
 (0)