@@ -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 | } |
@@ -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); |