Skip to content

Commit

Permalink
[ProxyManagerBridge] Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Dec 28, 2020
1 parent bbe1bb7 commit cd0db69
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

class SunnyInterface_%s implements \ProxyManager\Proxy\VirtualProxyInterface, \Symfony\Bridge\ProxyManager\Tests\LazyProxy\PhpDumper\DummyInterface, \Symfony\Bridge\ProxyManager\Tests\LazyProxy\PhpDumper\SunnyInterface
{

private $valueHolder%s = null;
%w private $valueHolder%s = null;

private $initializer%s = null;

Expand Down Expand Up @@ -96,7 +95,7 @@ public function __set($name, $value)

$targetObject = $this->valueHolder%s;

$targetObject->$name = $value; return $targetObject->$name;
$targetObject->$name = $value;%wreturn $targetObject->$name;
}

public function __isset($name)
Expand Down Expand Up @@ -158,7 +157,5 @@ public function isProxyInitialized() : bool
public function getWrappedValueHolderValue()%S
{
return $this->valueHolder%s;
}


}%w
}

0 comments on commit cd0db69

Please sign in to comment.