Remove whitespace

This commit is contained in:
Dennis Eichhorn 2018-05-21 22:30:04 +02:00
parent 10fc1ebd79
commit ac2ce6876d
4 changed files with 59 additions and 59 deletions

View File

@ -174,7 +174,7 @@ class Task implements \JsonSerializable
/**
* Set closable
*
*
* Setting it to false will only allow other modules to close this task
*
* @param bool $closable Is closable
@ -190,7 +190,7 @@ class Task implements \JsonSerializable
/**
* Is closable
*
*
* @return bool
*
* @since 1.0.0
@ -222,7 +222,7 @@ class Task implements \JsonSerializable
/**
* Get all media
*
*
* @return array
*
* @since 1.0.0
@ -234,9 +234,9 @@ class Task implements \JsonSerializable
/**
* Add media
*
*
* @param mixed $media Media to add
*
*
* @return void
*
* @since 1.0.0
@ -248,9 +248,9 @@ class Task implements \JsonSerializable
/**
* Check if user is cc
*
*
* @param int $id User id
*
*
* @return bool
*
* @since 1.0.0
@ -262,9 +262,9 @@ class Task implements \JsonSerializable
/**
* check if user is forwarded
*
*
* @param int $id User id
*
*
* @return bool
*
* @since 1.0.0
@ -302,9 +302,9 @@ class Task implements \JsonSerializable
/**
* Set start time of task
*
*
* @param \DateTime $start Start date of task
*
*
* @return void
*
* @since 1.0.0
@ -316,7 +316,7 @@ class Task implements \JsonSerializable
/**
* Get created by
*
*
* @return mixed
*
* @since 1.0.0
@ -328,9 +328,9 @@ class Task implements \JsonSerializable
/**
* Set created by
*
*
* @param mixed $id Created by
*
*
* @return void
*
* @since 1.0.0
@ -343,7 +343,7 @@ class Task implements \JsonSerializable
/**
* Get description
*
*
* @return string
*
* @since 1.0.0
@ -355,9 +355,9 @@ class Task implements \JsonSerializable
/**
* Set description
*
*
* @param string $description Description
*
*
* @return void
*
* @since 1.0.0
@ -369,7 +369,7 @@ class Task implements \JsonSerializable
/**
* Get description
*
*
* @return string
*
* @since 1.0.0
@ -381,9 +381,9 @@ class Task implements \JsonSerializable
/**
* Set description
*
*
* @param string $description Description
*
*
* @return void
*
* @since 1.0.0
@ -395,7 +395,7 @@ class Task implements \JsonSerializable
/**
* Get done date
*
*
* @return \DateTime
*
* @since 1.0.0
@ -407,9 +407,9 @@ class Task implements \JsonSerializable
/**
* Set done date
*
*
* @param \DateTime $done Done date
*
*
* @return void
*
* @since 1.0.0
@ -421,7 +421,7 @@ class Task implements \JsonSerializable
/**
* Get due date
*
*
* @return \DateTime
*
* @since 1.0.0
@ -433,9 +433,9 @@ class Task implements \JsonSerializable
/**
* Set due date
*
*
* @param \DateTime $due Due date
*
*
* @return void
*
* @since 1.0.0
@ -447,7 +447,7 @@ class Task implements \JsonSerializable
/**
* Get id
*
*
* @return int
*
* @since 1.0.0
@ -459,7 +459,7 @@ class Task implements \JsonSerializable
/**
* Get status
*
*
* @return int
*
* @since 1.0.0
@ -471,9 +471,9 @@ class Task implements \JsonSerializable
/**
* Set status
*
*
* @param int $status Task status
*
*
* @return void
*
* @throws InvalidEnumValue
@ -491,7 +491,7 @@ class Task implements \JsonSerializable
/**
* Get priority
*
*
* @return int
*
* @since 1.0.0
@ -503,9 +503,9 @@ class Task implements \JsonSerializable
/**
* Set priority
*
*
* @param int $priority Task priority
*
*
* @return void
*
* @throws InvalidEnumValue
@ -523,7 +523,7 @@ class Task implements \JsonSerializable
/**
* Get title
*
*
* @return string
*
* @since 1.0.0
@ -535,9 +535,9 @@ class Task implements \JsonSerializable
/**
* Set title
*
*
* @param string $title Title
*
*
* @return void
*
* @since 1.0.0
@ -626,7 +626,7 @@ class Task implements \JsonSerializable
*
* @since 1.0.0
*/
public function getSchedule() : Schedule
public function getSchedule() : Schedule
{
return $this->schedule;
}

View File

@ -135,7 +135,7 @@ class TaskElement implements \JsonSerializable
/**
* Set created by
*
*
* @param mixed $creator Creator
*
* @return void
@ -153,7 +153,7 @@ class TaskElement implements \JsonSerializable
/**
* Get all media
*
*
* @return array
*
* @since 1.0.0
@ -165,9 +165,9 @@ class TaskElement implements \JsonSerializable
/**
* Add media
*
*
* @param mixed $media Media to add
*
*
* @return void
*
* @since 1.0.0
@ -190,7 +190,7 @@ class TaskElement implements \JsonSerializable
/**
* Set description
*
*
* @param string $description Description
*
* @return void
@ -204,7 +204,7 @@ class TaskElement implements \JsonSerializable
/**
* Get description
*
*
* @return string
*
* @since 1.0.0
@ -216,7 +216,7 @@ class TaskElement implements \JsonSerializable
/**
* Set description
*
*
* @param string $description Description
*
* @return void
@ -230,7 +230,7 @@ class TaskElement implements \JsonSerializable
/**
* Get due date
*
*
* @return \DateTime
*
* @since 1.0.0
@ -242,9 +242,9 @@ class TaskElement implements \JsonSerializable
/**
* Set due date
*
*
* @param \DateTime $due Due date
*
*
* @return void
*
* @since 1.0.0
@ -256,7 +256,7 @@ class TaskElement implements \JsonSerializable
/**
* Get forwarded
*
*
* @return mixed
*
* @since 1.0.0
@ -268,7 +268,7 @@ class TaskElement implements \JsonSerializable
/**
* Set forwarded
*
*
* @param mixed $forwarded Forward to
*
* @return void
@ -282,7 +282,7 @@ class TaskElement implements \JsonSerializable
/**
* Get id
*
*
* @return int
*
* @since 1.0.0
@ -294,7 +294,7 @@ class TaskElement implements \JsonSerializable
/**
* Get status
*
*
* @return int
*
* @since 1.0.0
@ -306,7 +306,7 @@ class TaskElement implements \JsonSerializable
/**
* Set Status
*
*
* @param int $status Task element status
*
* @return void
@ -326,7 +326,7 @@ class TaskElement implements \JsonSerializable
/**
* Get task id
*
*
* @return int
*
* @since 1.0.0
@ -338,7 +338,7 @@ class TaskElement implements \JsonSerializable
/**
* Set task i
*
*
* @param int $task Task id
*
* @return void
@ -353,7 +353,7 @@ class TaskElement implements \JsonSerializable
/**
* {@inheritdoc}
*/
public function toArray() : array
public function toArray() : array
{
return [
'id' => $this->id,
@ -370,7 +370,7 @@ class TaskElement implements \JsonSerializable
/**
* {@inheritdoc}
*/
public function jsonSerialize()
public function jsonSerialize()
{
return $this->toArray();
}

View File

@ -131,7 +131,7 @@ class TaskMapper extends DataMapperAbstract
/**
* Count unread task
*
*
* @param int $user User
*
* @return int

View File

@ -29,11 +29,11 @@ class TaskView extends View
if ($status === TaskStatus::OPEN) {
return 'darkblue';
} elseif ($status === TaskStatus::WORKING) {
return 'purple';
return 'purple';
} elseif ($status === TaskStatus::CANCELED) {
return 'red';
} elseif ($status === TaskStatus::SUSPENDED) {
return 'yellow';
return 'yellow';
}
return 'black';