Skip to content

Commit d4fe259

Browse files
clever-age-gtononxaviermarchegay
authored andcommitted
#33 Add duration filter on Process Execution Crud. Quality
1 parent a03cf6c commit d4fe259

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Admin/Filter/ProcessExecutionDurationFilter.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
declare(strict_types=1);
44

55
/*
6-
* This file is part of the CleverAge/ProcessBundleDemo package.
6+
* This file is part of the CleverAge/UiProcessBundle package.
77
*
88
* Copyright (c) Clever-Age
99
*
@@ -25,10 +25,10 @@ class ProcessExecutionDurationFilter implements FilterInterface
2525
{
2626
use FilterTrait;
2727

28-
public static function new(string $propertyName, $label = null): self
28+
public static function new(string $propertyName, ?string $label = null): self
2929
{
3030
return (new self())
31-
->setFilterFqcn(__CLASS__)
31+
->setFilterFqcn(self::class)
3232
->setProperty($propertyName)
3333
->setLabel($label)
3434
->setFormType(NumericFilterType::class)

0 commit comments

Comments
 (0)