@@ -63,7 +63,7 @@ |
||
| 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 | } |
@@ -23,7 +23,7 @@ |
||
| 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( |
@@ -58,7 +58,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | } |