File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
ProxyGenerator/LazyLoadingGhost/MethodGenerator Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 44
55namespace ProxyManager \Generator ;
66
7- use Laminas \Code \Generator \ClassGenerator as ZendClassGenerator ;
7+ use Laminas \Code \Generator \ClassGenerator as LaminasClassGenerator ;
88
99use function array_map ;
1010use function trim ;
1111
1212/**
1313 * Class generator that ensures that interfaces/classes that are implemented/extended are FQCNs
1414 */
15- class ClassGenerator extends ZendClassGenerator
15+ class ClassGenerator extends LaminasClassGenerator
1616{
1717 /**
1818 * {@inheritDoc}
1919 */
20- public function setExtendedClass ($ extendedClass ): ZendClassGenerator
20+ public function setExtendedClass ($ extendedClass ): LaminasClassGenerator
2121 {
2222 if ($ extendedClass ) {
2323 $ extendedClass = '\\' . trim ($ extendedClass , '\\' );
@@ -33,7 +33,7 @@ public function setExtendedClass($extendedClass): ZendClassGenerator
3333 *
3434 * @psalm-suppress MoreSpecificImplementedParamType parent interface does not specify type of array values
3535 */
36- public function setImplementedInterfaces (array $ interfaces ): ZendClassGenerator
36+ public function setImplementedInterfaces (array $ interfaces ): LaminasClassGenerator
3737 {
3838 return parent ::setImplementedInterfaces (array_map (
3939 static function (string $ interface ): string {
Original file line number Diff line number Diff line change 55namespace ProxyManager \Generator ;
66
77use Laminas \Code \Generator \DocBlockGenerator ;
8- use Laminas \Code \Generator \MethodGenerator as ZendMethodGenerator ;
8+ use Laminas \Code \Generator \MethodGenerator as LaminasMethodGenerator ;
99use Laminas \Code \Reflection \MethodReflection ;
1010
1111/**
1212 * Method generator that fixes minor quirks in ZF2's method generator
1313 */
14- class MethodGenerator extends ZendMethodGenerator
14+ class MethodGenerator extends LaminasMethodGenerator
1515{
1616 /**
1717 * @return static
Original file line number Diff line number Diff line change 55namespace ProxyManager \ProxyGenerator \LazyLoadingGhost \MethodGenerator ;
66
77use Laminas \Code \Generator \Exception \InvalidArgumentException ;
8- use Laminas \Code \Generator \MethodGenerator as ZendMethodGenerator ;
8+ use Laminas \Code \Generator \MethodGenerator as LaminasMethodGenerator ;
99use Laminas \Code \Generator \PropertyGenerator ;
1010use ProxyManager \Generator \MethodGenerator ;
1111
@@ -20,7 +20,7 @@ class InitializeProxy extends MethodGenerator
2020 *
2121 * @throws InvalidArgumentException
2222 */
23- public function __construct (PropertyGenerator $ initializerProperty , ZendMethodGenerator $ callInitializer )
23+ public function __construct (PropertyGenerator $ initializerProperty , LaminasMethodGenerator $ callInitializer )
2424 {
2525 parent ::__construct ('initializeProxy ' );
2626 $ this ->setReturnType ('bool ' );
You can’t perform that action at this time.
0 commit comments