Commit b753ba16 authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[BUGFIX] Fix limit parameter datatype

parent ea7de44d
......@@ -45,7 +45,7 @@ class MailRepository extends AbstractRepository {
* @param int $limit
* @return array|QueryResultInterface
*/
public function findMailsToSend($limit = NULL) {
public function findMailsToSend(int $limit = NULL) {
$query = $this->createQuery();
if ($limit) {
$query->setLimit($limit);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment