Fixed code style.

This commit is contained in:
Jan Böhmer 2020-08-21 21:36:22 +02:00
parent 2853e471c4
commit d0b1024d80
212 changed files with 495 additions and 1005 deletions

View file

@ -43,7 +43,7 @@ class EventUndoHelper
public function setMode(string $mode): void
{
if (! in_array($mode, self::ALLOWED_MODES, true)) {
if (!in_array($mode, self::ALLOWED_MODES, true)) {
throw new \InvalidArgumentException('Invalid mode passed!');
}
$this->mode = $mode;
@ -65,8 +65,6 @@ class EventUndoHelper
/**
* Returns event that is currently undone.
*
* @return AbstractLogEntry|null
*/
public function getUndoneEvent(): ?AbstractLogEntry
{
@ -83,8 +81,6 @@ class EventUndoHelper
/**
* Check if a event is undone.
*
* @return bool
*/
public function isUndo(): bool
{