| @@ -89,7 +89,7 @@ discard block | ||
| 89 | 89 | |
| 90 | 90 | return true; | 
| 91 | 91 | } | 
| 92 | - return false; | |
| 92 | + return false; | |
| 93 | 93 | } | 
| 94 | 94 | |
| 95 | 95 | /** | 
| @@ -144,8 +144,8 @@ discard block | ||
| 144 | 144 |          if ($row->isNotEmpty()) { | 
| 145 | 145 |              $transformItems = array_map(function ($value) use ($items, $newPrice) { | 
| 146 | 146 |                  if ($value['id'] == $items['id']) { | 
| 147 | - $value['discount'] = $newPrice; | |
| 148 | - return $value; | |
| 147 | + $value['discount'] = $newPrice; | |
| 148 | + return $value; | |
| 149 | 149 | } | 
| 150 | 150 | return $value; | 
| 151 | 151 | }, fromJson($row->first()->data, true)); | 
| @@ -153,7 +153,7 @@ discard block | ||
| 153 | 153 | $this->updateRow($items['user_id'], inJson($transformItems)); | 
| 154 | 154 | return true; | 
| 155 | 155 | } | 
| 156 | - return false; | |
| 156 | + return false; | |
| 157 | 157 | } | 
| 158 | 158 | |
| 159 | 159 | /** | 
| @@ -178,7 +178,7 @@ | ||
| 178 | 178 | */ | 
| 179 | 179 | private function existItem(int $itemId, int $userId) : bool | 
| 180 | 180 |      { | 
| 181 | - return !is_null($this->redis->hget($this->normalizeKey($userId), $itemId)); | |
| 181 | + return !is_null($this->redis->hget($this->normalizeKey($userId), $itemId)); | |
| 182 | 182 | } | 
| 183 | 183 | |
| 184 | 184 | /** | 
| @@ -20,7 +20,7 @@ | ||
| 20 | 20 | protected function execute(InputInterface $input, OutputInterface $output) | 
| 21 | 21 |      { | 
| 22 | 22 |          foreach (Finder::create()->files()->name('*.php') | 
| 23 | -                     ->in(__DIR__. '/../../migrations') as $file) { | |
| 23 | +                        ->in(__DIR__. '/../../migrations') as $file) { | |
| 24 | 24 | $classes = get_declared_classes(); | 
| 25 | 25 | include $file->getRealPath(); | 
| 26 | 26 | $diff = array_diff(get_declared_classes(), $classes); |