We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 502aee6 commit d75c6ebCopy full SHA for d75c6eb
src/Pointer/Evaluate/AdvancerIndex.php
@@ -26,7 +26,10 @@ public function advance()
26
27
public function write($data)
28
{
29
- $this->getCursor()->getData()[$this->getKey()] = $data;
+ $cursorData = &$this
30
+ ->getCursor()
31
+ ->getData();
32
+ $cursorData[$this->getKey()] = $data;
33
return $this;
34
}
35
src/Pointer/Evaluate/AdvancerNextIndex.php
@@ -20,9 +20,10 @@ public function advance()
20
21
22
23
- $this
24
->getCursor()
25
- ->getData()[] = $data;
+ $cursorData[] = $data;
0 commit comments