Skip to content

Commit acadbd8

Browse files
committed
fix setting operations and args
Signed-off-by: Robert Landers <landers.robert@gmail.com>
1 parent 5ffaeb6 commit acadbd8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Proxy/SpyProxy.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ protected function preamble(ReflectionClass $class): string
109109
if ($this->op !== null) {
110110
throw new \LogicException('Can only send one signal at a time');
111111
}
112+
$this->op = $value;
112113
}
113114
}
114115
private array|null $arguments {
@@ -117,6 +118,7 @@ protected function preamble(ReflectionClass $class): string
117118
if ($this->args !== null) {
118119
throw new \LogicException('Can only send one signal at a time');
119120
}
121+
$this->args = $value;
120122
}
121123
}
122124

0 commit comments

Comments
 (0)