Skip to content

Commit 39a83e9

Browse files
Rename aliases containing "Zend"
1 parent ae588ee commit 39a83e9

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/ProxyManager/Generator/ClassGenerator.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44

55
namespace ProxyManager\Generator;
66

7-
use Laminas\Code\Generator\ClassGenerator as ZendClassGenerator;
7+
use Laminas\Code\Generator\ClassGenerator as LaminasClassGenerator;
88

99
use function array_map;
1010
use 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 {

src/ProxyManager/Generator/MethodGenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
namespace ProxyManager\Generator;
66

77
use Laminas\Code\Generator\DocBlockGenerator;
8-
use Laminas\Code\Generator\MethodGenerator as ZendMethodGenerator;
8+
use Laminas\Code\Generator\MethodGenerator as LaminasMethodGenerator;
99
use 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

src/ProxyManager/ProxyGenerator/LazyLoadingGhost/MethodGenerator/InitializeProxy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace ProxyManager\ProxyGenerator\LazyLoadingGhost\MethodGenerator;
66

77
use Laminas\Code\Generator\Exception\InvalidArgumentException;
8-
use Laminas\Code\Generator\MethodGenerator as ZendMethodGenerator;
8+
use Laminas\Code\Generator\MethodGenerator as LaminasMethodGenerator;
99
use Laminas\Code\Generator\PropertyGenerator;
1010
use 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');

0 commit comments

Comments
 (0)