Commit 71f5a3ae authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

php84 nullable

parent 8e26d118
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for src/UnicaenApp/Form/View/Helper/FormSearchAndSelect.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ class FormSearchAndSelect extends FormText
    protected int $autocompleteMinLength = 2;
    protected string $spinnerSource = "//gest.unicaen.fr/images/ajax-loader-r.gif";
    
    public function __invoke(ElementInterface $element = null)
    public function __invoke(?ElementInterface $element = null)
    {
        if (! $element) {
            return $this;