Completed
Pull Request — develop (#891)
by Luke
04:18
created
src/N98/Magento/Command/Indexer/AbstractMviewIndexerCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
         $indexers = array();
26 26
         foreach ($helper->getIndexers(true) as $indexer) {
27
-            $indexers[(string)$indexer->index_table] = $indexer;
27
+            $indexers[(string) $indexer->index_table] = $indexer;
28 28
         }
29 29
 
30 30
         foreach ($indexers as $indexerKey => $indexerData) {
Please login to merge, or discard this patch.
src/N98/Magento/Command/Indexer/ReindexMviewCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,8 @@
 block discarded – undo
47 47
         }
48 48
 
49 49
         $indexerData = $indexers[$tableName];
50
-        $indexTable = (string)$indexerData->index_table;
51
-        $actionName = (string)$indexerData->action_model->changelog;
50
+        $indexTable = (string) $indexerData->index_table;
51
+        $actionName = (string) $indexerData->action_model->changelog;
52 52
 
53 53
         $client = $this->getMviewClient();
54 54
         $client->init($indexTable);
Please login to merge, or discard this patch.
src/N98/Magento/Command/Indexer/ListMviewCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         foreach ($this->getMetaDataCollection() as $index) {
46 46
 
47 47
             $pendingCount = $this->getPendingChangelogsCount($index->getData('changelog_name'), $index->getData('version_id'));
48
-            if ($pendingCount>0) {
48
+            if ($pendingCount > 0) {
49 49
                 $pendingString = "<error>$pendingCount</error>";
50 50
             } else {
51 51
                 $pendingString = "<info>$pendingCount</info>";
Please login to merge, or discard this patch.