Skip to content

Commit 2d15906

Browse files
authored
Update QueuedJobsTable.php
Use `allowEmptyString()` instead of deprecated `allowEmpty()`.
1 parent 08eefaa commit 2d15906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/Table/QueuedJobsTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public function validationDefault(Validator $validator): Validator {
175175
$validator
176176
->greaterThanOrEqual('progress', 0)
177177
->lessThanOrEqual('progress', 1)
178-
->allowEmpty('progress');
178+
->allowEmptyString('progress');
179179

180180
return $validator;
181181
}

0 commit comments

Comments
 (0)