Skip to content

Commit e85f4a9

Browse files
committed
Storage - fixed initialization of FileStorage options leading to stopOnFirstMismatch option to be enabled at wrong time.
1 parent 7216b66 commit e85f4a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Clockwork/Storage/Search.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __construct($search = [], $options = [])
2727
}
2828

2929
foreach ([ 'stopOnFirstMismatch' ] as $option) {
30-
$this->$option = isset($options[$option]) ? $options[$option] : $this->$condition;
30+
$this->$option = isset($options[$option]) ? $options[$option] : $this->$option;
3131
}
3232

3333
$this->method = array_map('strtolower', $this->method);

0 commit comments

Comments
 (0)