- Remove space after if;

- Change Scheduler::standard function name to a more descriptive one
This commit is contained in:
Tautvidas Sipavičius
2016-05-18 14:45:55 +03:00
parent 66a93768e1
commit 0b3a388a78
3 changed files with 14 additions and 10 deletions

View File

@ -73,7 +73,11 @@ class Scheduler {
}
}
static function standard($timestamp) {
/**
* Create a properly formatted timestamp for use in Scheduler from
* arbitrarily formatted timestamp strings.
*/
static function scheduleFromTimestamp($timestamp) {
return Carbon::parse($timestamp)->format('Y-m-d H:i:s');
}