@@ -23,7 +23,7 @@ |
||
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' |
@@ -61,7 +61,7 @@ discard block |
||
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 |
||
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 | } |
@@ -54,7 +54,7 @@ |
||
54 | 54 | if (strlen($nextChunkString) <= $maxHeaderLength) { |
55 | 55 | $tagChunks[$index] = $nextChunkString; |
56 | 56 | } else { |
57 | - $index ++; |
|
57 | + $index++; |
|
58 | 58 | $tagChunks[$index] = $tag; |
59 | 59 | } |
60 | 60 | } |