Commit df388433 authored by Stefan Busemann's avatar Stefan Busemann
Browse files

[TASK] Reformat code

parent cfe3c12d
...@@ -192,7 +192,7 @@ class Election extends AbstractEntity ...@@ -192,7 +192,7 @@ class Election extends AbstractEntity
*/ */
public function isElectionFinished() public function isElectionFinished()
{ {
if ($this->getEndDate()===NULL) { if ($this->getEndDate() === null) {
return true; return true;
} }
if ($this->getEndDate()->getTimestamp() < time()) { if ($this->getEndDate()->getTimestamp() < time()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment