Run php-cs-fixer on the code base
This commit is contained in:
@@ -31,9 +31,7 @@ class ProjectGanttFormatter extends Project implements FormatterInterface
|
||||
{
|
||||
if (empty($project_ids)) {
|
||||
$this->projects = array();
|
||||
}
|
||||
else {
|
||||
|
||||
} else {
|
||||
$this->projects = $this->db
|
||||
->table(self::TABLE)
|
||||
->asc('start_date')
|
||||
|
||||
@@ -56,7 +56,6 @@ class TaskFilterICalendarFormatter extends TaskFilterCalendarEvent implements Fo
|
||||
public function addDateTimeEvents()
|
||||
{
|
||||
foreach ($this->query->findAll() as $task) {
|
||||
|
||||
$start = new DateTime;
|
||||
$start->setTimestamp($task[$this->startColumn]);
|
||||
|
||||
@@ -82,7 +81,6 @@ class TaskFilterICalendarFormatter extends TaskFilterCalendarEvent implements Fo
|
||||
public function addFullDayEvents()
|
||||
{
|
||||
foreach ($this->query->findAll() as $task) {
|
||||
|
||||
$date = new DateTime;
|
||||
$date->setTimestamp($task[$this->startColumn]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user