Skip to content

Commit

Permalink
Fix php 7 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Nov 28, 2019
1 parent b5bc62a commit 8ddd60e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/QueuedTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class QueuedTask extends AppModel {
* @param ?string $notBefore A datetime which indicates when the job may be executed
* @return mixed On success `Model::$data` if its not empty or true, false on failure
*/
public function createJob(string $taskName, array $data, ?string $notBefore = null) {
public function createJob(string $taskName, array $data, $notBefore = null) {
$data = [
'task' => $taskName,
'data' => serialize($data),
Expand Down

0 comments on commit 8ddd60e

Please sign in to comment.