Passed
Pull Request — master (#3)
by Fabian
09:04
created
src/Model/PurgeAsyncCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
                 if (strlen($nextChunkString) <= $maxHeaderLength) {
64 64
                     $tagChunks[$index] = $nextChunkString;
65 65
                 } else {
66
-                    $index ++;
66
+                    $index++;
67 67
                     $tagChunks[$index] = $tag;
68 68
                 }
69 69
             }
Please login to merge, or discard this patch.
src/Model/ResourceModel/Tag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
         $subSetSelect = $connection->select()->from(
25 25
             $this->getTable(self::TABLE_NAME),
26
-            ['entity_id','tag']
26
+            ['entity_id', 'tag']
27 27
         )->order(
28 28
             'entity_id ASC'
29 29
         )->limit(
Please login to merge, or discard this patch.
src/Model/TagRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 
59 59
     private function getTagFetchLimit(): int
60 60
     {
61
-        return (int) $this->scopeConfig->getValue(self::FETCH_TAG_LIMIT_CONFIG_PATH);
61
+        return (int)$this->scopeConfig->getValue(self::FETCH_TAG_LIMIT_CONFIG_PATH);
62 62
     }
63 63
 
64 64
     /**
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         }
76 76
 
77 77
         $data = array_map(
78
-            function ($tag) {
78
+            function($tag) {
79 79
                 return ['entity_id' => null, 'tag' => $tag];
80 80
             },
81 81
             $tags
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     {
101 101
         try {
102 102
             $tableName = $this->resource->getTableName(self::TABLE_NAME);
103
-            return $this->connection->delete($tableName, 'entity_id <= '.$maxId);
103
+            return $this->connection->delete($tableName, 'entity_id <= ' . $maxId);
104 104
         } catch (\Exception $e) {
105 105
             throw $e;
106 106
         }
Please login to merge, or discard this patch.