Run php-cs-fixer on the code base

This commit is contained in:
Frederic Guillot
2015-10-17 10:09:03 -04:00
parent b40190ee9f
commit 8c532efd5f
147 changed files with 465 additions and 772 deletions

View File

@@ -52,11 +52,9 @@ class Dt extends \Kanboard\Core\Base
}
if ($diff < 1200) {
return t('<30m');
}
else if ($diff < 3600) {
} elseif ($diff < 3600) {
return t('<1h');
}
else if ($diff < 86400) {
} elseif ($diff < 86400) {
return '~'.t('%dh', $diff / 3600);
}