@@ -68,7 +68,7 @@ |
||
68 | 68 | } |
69 | 69 | |
70 | 70 | foreach ($rewriteElement->children() as $child) { |
71 | - $childDomElement = dom_import_simplexml($rewriteElement); |
|
71 | + $childDomElement = dom_import_simplexml($rewriteElement); |
|
72 | 72 | if (!$childDomElement) { |
73 | 73 | continue; |
74 | 74 | } |
@@ -22,7 +22,7 @@ |
||
22 | 22 | protected function configure(): void |
23 | 23 | { |
24 | 24 | $this->setName('media:cache:jscss:clear') |
25 | - ->setDescription('Clears JS/CSS cache'); |
|
25 | + ->setDescription('Clears JS/CSS cache'); |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | protected function execute(InputInterface $input, OutputInterface $output): int |
@@ -21,7 +21,7 @@ |
||
21 | 21 | protected function configure(): void |
22 | 22 | { |
23 | 23 | $this->setName('media:cache:image:clear') |
24 | - ->setDescription('Clears image cache'); |
|
24 | + ->setDescription('Clears image cache'); |
|
25 | 25 | } |
26 | 26 | |
27 | 27 | protected function execute(InputInterface $input, OutputInterface $output): int |
@@ -140,7 +140,7 @@ |
||
140 | 140 | * in difference to @param string $name mysql variable name |
141 | 141 | * @param string|null $type [optional] variable type, can be a system variable ("@@", default) or a session variable |
142 | 142 | * ("@"). |
143 | - * |
|
143 | + * |
|
144 | 144 | * @return int|string|false|null variable value, null if variable was not defined |
145 | 145 | * @throws RuntimeException in case a system variable is unknown (SQLSTATE[HY000]: 1193: Unknown system variable |
146 | 146 | * 'nonexistent') |
@@ -21,4 +21,4 @@ |
||
21 | 21 | $application->setPharMode(true); |
22 | 22 | $application->run(); |
23 | 23 | |
24 | -__HALT_COMPILER(); |
|
24 | +__HALT_COMPILER(); |
@@ -76,8 +76,8 @@ |
||
76 | 76 | if (!$mageCustomerModelCustomer->getId()) { |
77 | 77 | $mageCustomerModelCustomer->setWebsiteId((int) $website->getId()); |
78 | 78 | $mageCustomerModelCustomer->setEmail($email); |
79 | - $mageCustomerModelCustomer->setFirstname($firstname); # @phpstan-ignore method.notFound (missing in current OpenMage) |
|
80 | - $mageCustomerModelCustomer->setLastname($lastname); # @phpstan-ignore method.notFound (missing in current OpenMage) |
|
79 | + $mageCustomerModelCustomer->setFirstname($firstname); # @phpstan-ignore method.notFound (missing in current OpenMage) |
|
80 | + $mageCustomerModelCustomer->setLastname($lastname); # @phpstan-ignore method.notFound (missing in current OpenMage) |
|
81 | 81 | $mageCustomerModelCustomer->setPassword($password); |
82 | 82 | $mageCustomerModelCustomer->save(); |
83 | 83 | $mageCustomerModelCustomer->setConfirmation(null); |
@@ -96,7 +96,7 @@ |
||
96 | 96 | $customer->setWebsiteId((int) $website->getId()); |
97 | 97 | $customer->setEmail($email); |
98 | 98 | $customer->setFirstname($generator->firstName); # @phpstan-ignore method.notFound (missing in current OpenMage) |
99 | - $customer->setLastname($generator->lastName); # @phpstan-ignore method.notFound (missing in current OpenMage) |
|
99 | + $customer->setLastname($generator->lastName); # @phpstan-ignore method.notFound (missing in current OpenMage) |
|
100 | 100 | $customer->setPassword($password); |
101 | 101 | if ($input->hasOption('with-addresses')) { |
102 | 102 | $address = $this->createAddress($generator); |