Skip to content

Commit 7d275ea

Browse files
author
Eugene Leonovich
committed
Require $data argument in Task constructor
1 parent 55f4d1d commit 7d275ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Task.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ final class Task
88
private $state;
99
private $data;
1010

11-
private function __construct($id, $state, $data = null)
11+
private function __construct($id, $state, $data)
1212
{
1313
$this->id = $id;
1414
$this->state = $state;

0 commit comments

Comments
 (0)