Skip to content

Commit

Permalink
#33 Add duration filter on Process Execution Crud. Quality
Browse files Browse the repository at this point in the history
  • Loading branch information
clever-age-gtonon committed Jan 15, 2025
1 parent 4f5dd5e commit d4624e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Admin/Filter/ProcessExecutionDurationFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/*
* This file is part of the CleverAge/ProcessBundleDemo package.
* This file is part of the CleverAge/UiProcessBundle package.
*
* Copyright (c) Clever-Age
*
Expand All @@ -25,10 +25,10 @@ class ProcessExecutionDurationFilter implements FilterInterface
{
use FilterTrait;

public static function new(string $propertyName, $label = null): self
public static function new(string $propertyName, ?string $label = null): self
{
return (new self())
->setFilterFqcn(__CLASS__)
->setFilterFqcn(self::class)
->setProperty($propertyName)
->setLabel($label)
->setFormType(NumericFilterType::class)
Expand Down

0 comments on commit d4624e7

Please sign in to comment.