refactor: add literal separator to numbers

- This is for PHP7.4 + only
- Adds an `_` as thousands separator in numbers
This commit is contained in:
HDVinnie
2020-04-14 20:25:07 -04:00
parent bb9002bc48
commit 46aa876c06
16 changed files with 63 additions and 63 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ class UserController extends Controller
$user->image = $user->username.'.'.$image->getClientOriginalExtension();
} else {
return redirect()->route('users.show', ['username' => $user->username])
->withErrors('Your avatar is too large, max file size: '.($max_upload / 1000000).' MB');
->withErrors('Your avatar is too large, max file size: '.($max_upload / 1_000_000).' MB');
}
}
}