We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a03cf6c commit d4fe259Copy full SHA for d4fe259
src/Admin/Filter/ProcessExecutionDurationFilter.php
@@ -3,7 +3,7 @@
3
declare(strict_types=1);
4
5
/*
6
- * This file is part of the CleverAge/ProcessBundleDemo package.
+ * This file is part of the CleverAge/UiProcessBundle package.
7
*
8
* Copyright (c) Clever-Age
9
@@ -25,10 +25,10 @@ class ProcessExecutionDurationFilter implements FilterInterface
25
{
26
use FilterTrait;
27
28
- public static function new(string $propertyName, $label = null): self
+ public static function new(string $propertyName, ?string $label = null): self
29
30
return (new self())
31
- ->setFilterFqcn(__CLASS__)
+ ->setFilterFqcn(self::class)
32
->setProperty($propertyName)
33
->setLabel($label)
34
->setFormType(NumericFilterType::class)
0 commit comments