@@ -52,7 +52,7 @@ |
||
52 | 52 | */ |
53 | 53 | public function find($user_id): ?User |
54 | 54 | { |
55 | - return app('cache.array')->remember('user-' . $user_id, static function () use ($user_id): ?User { |
|
55 | + return app('cache.array')->remember('user-' . $user_id, static function () use ($user_id) : ?User { |
|
56 | 56 | return DB::table('user') |
57 | 57 | ->where('user_id', '=', $user_id) |
58 | 58 | ->get() |
@@ -216,7 +216,7 @@ |
||
216 | 216 | } |
217 | 217 | |
218 | 218 | if ($latitude !== 0.0 || $longitude !== 0.0) { |
219 | - $polyline = null; |
|
219 | + $polyline = null; |
|
220 | 220 | |
221 | 221 | $color_index = log($id, 2) % $color_count; |
222 | 222 | $sosa_points[$id] = [$latitude, $longitude]; |