Skip to content

Commit

Permalink
Update StaticConsoleListener.php
Browse files Browse the repository at this point in the history
  • Loading branch information
nusje2000 authored Jul 20, 2020
1 parent ec3d616 commit b57ebb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Listener/StaticConsoleListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ private function getPreviousState(TaskList $taskList): array
$index = spl_object_id($taskList);

/** @var array<int, array<string, bool>> $previous */
$previous = $this->taskLists[$index]['previous'];
$previous = $this->taskLists[$index]['previous'] ?? [];

return $previous;
}
Expand Down

0 comments on commit b57ebb1

Please sign in to comment.