Skip to content

Commit 71cb38b

Browse files
committed
remove unused var
Signed-off-by: Robert Landers <landers.robert@gmail.com>
1 parent 87ae835 commit 71cb38b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/Proxy/SpyProxy.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,10 @@ protected function pureMethod(ReflectionMethod $method, bool $isHook = false): s
3737

3838
protected function impureCall(ReflectionMethod $method, bool $isHook = false): string
3939
{
40-
$getHook = true;
4140
if ($isHook && str_ends_with($method->getName(), 'get')) {
4241
$name = 'get';
4342
} elseif ($isHook && str_ends_with($method->getName(), 'set')) {
4443
$name = 'set';
45-
$getHook = false;
4644
} else {
4745
$name = $method->getName();
4846
}

0 commit comments

Comments
 (0)