Various code cleanup.

This commit is contained in:
James Cole
2017-09-14 17:40:02 +02:00
parent 761e9effae
commit 5e900736f8
59 changed files with 315 additions and 1912 deletions

View File

@@ -101,12 +101,11 @@ class Range
$moneyResult = setlocale(LC_MONETARY, $locale);
// send error to view if could not set money format
if($moneyResult === false) {
if ($moneyResult === false) {
View::share('invalidMonetaryLocale', true);
}
// save some formats:
$monthAndDayFormat = (string)trans('config.month_and_day');
$dateTimeFormat = (string)trans('config.date_time');