Passed
Branch master (cb8b88)
by Fabian
05:27
created
Category
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
             self::TABLE_NAME,
26
-            ['entity_id','tag']
26
+            ['entity_id', 'tag']
27 27
         )->order(
28 28
             'entity_id',
29 29
             'ASC'
Please login to merge, or discard this patch.
src/Model/TagRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         }
62 62
 
63 63
         $data = array_map(
64
-            function ($tag) {
64
+            function($tag) {
65 65
                 return ['entity_id' => null, 'tag' => $tag];
66 66
             },
67 67
             $tags
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     {
87 87
         try {
88 88
             $tableName = $this->resource->getTableName(self::TABLE_NAME);
89
-            return $this->connection->delete($tableName, 'entity_id <= '.$maxId);
89
+            return $this->connection->delete($tableName, 'entity_id <= ' . $maxId);
90 90
         } catch (\Exception $e) {
91 91
             throw $e;
92 92
         }
Please login to merge, or discard this patch.