@@ -54,10 +54,10 @@ |
||
54 | 54 | { |
55 | 55 | $this->index[$key][$operation->idx($this->connection)] = $operation; |
56 | 56 | $indexer = $this; |
57 | - $operation->onCommit(function ($operation) use ($key, $indexer) { |
|
57 | + $operation->onCommit(function($operation) use ($key, $indexer) { |
|
58 | 58 | $indexer->deIndex($key, $operation); |
59 | 59 | }); |
60 | - $operation->onRollback(function ($operation) use ($key, $indexer) { |
|
60 | + $operation->onRollback(function($operation) use ($key, $indexer) { |
|
61 | 61 | $indexer->deIndex($key, $operation); |
62 | 62 | }); |
63 | 63 | return $operation; |