@@ -36,7 +36,7 @@ |
||
| 36 | 36 | |
| 37 | 37 | if (is_object($document)) { |
| 38 | 38 | try { |
| 39 | - $closure = \Closure::bind(function ($document, $field) { |
|
| 39 | + $closure = \Closure::bind(function($document, $field) { |
|
| 40 | 40 | return $document->$field; |
| 41 | 41 | }, null, $document); |
| 42 | 42 | $state->setValue($closure($document, $this->getOption('field'))); |