Skip to content

Commit 1c54134

Browse files
committed
Merge branch 'MAGETWO-87551' of github.com:magento-trigger/magento2ce into MAGETWO-87551
2 parents a0f4dcf + 7f59f8a commit 1c54134

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

app/etc/di.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
<preference for="Magento\Framework\Api\Search\DocumentInterface" type="Magento\Framework\Api\Search\Document" />
4444
<preference for="Magento\Framework\Api\Search\AggregationInterface" type="Magento\Framework\Search\Response\Aggregation" />
4545
<preference for="Magento\Framework\App\RequestSafetyInterface" type="Magento\Framework\App\Request\Http" />
46+
<preference for="\Magento\Framework\Setup\SchemaSetupInterface" type="\Magento\Setup\Module\Setup" />
47+
<preference for="\Magento\Framework\Setup\ModuleDataSetupInterface" type="\Magento\Setup\Module\DataSetup" />
4648
<type name="Magento\Store\Model\Store">
4749
<arguments>
4850
<argument name="currencyInstalled" xsi:type="string">system/currency/installed</argument>

setup/src/Magento/Setup/Console/Command/ModuleUninstallCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ public function __construct(
161161
private function getPatchApplier()
162162
{
163163
if (!$this->patchApplier) {
164-
$this->patchApplier = $this->objectManager->get(PatchApplier::class);
164+
$this->patchApplier = $this
165+
->objectManager->get(PatchApplier::class);
165166
}
166167

167168
return $this->patchApplier;

setup/src/Magento/Setup/Model/Patch/PatchApplier.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ public function __construct(
9191
PatchHistory $patchHistory,
9292
PatchFactory $patchFactory,
9393
ObjectManagerInterface $objectManager,
94-
\Magento\Framework\Setup\SchemaSetupInterface $schemaSetup = null,
95-
\Magento\Framework\Setup\ModuleDataSetupInterface $moduleDataSetup = null
94+
\Magento\Framework\Setup\SchemaSetupInterface $schemaSetup,
95+
\Magento\Framework\Setup\ModuleDataSetupInterface $moduleDataSetup
9696
) {
9797
$this->patchRegistryFactory = $patchRegistryFactory;
9898
$this->dataPatchReader = $dataPatchReader;

0 commit comments

Comments
 (0)