Commit d42c45da authored by Thomas Hamel's avatar Thomas Hamel
Browse files

il restait qq bugs liés au passage à PHP 8.4

parent 746235e3
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for .gitlab-ci.yml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -5,4 +5,4 @@ update-satis:
  stage: publish
  image: curlimages/curl
  script:
    - curl https://gest.unicaen.fr/packagist/update
    - curl https://packagist.unicaen.fr/build?name=unicaen/app
+1 −1
Changes for composer.json: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
    "repositories": [
        {
            "type": "composer",
            "url": "https://gest.unicaen.fr/packagist"
            "url": "https://packagist.unicaen.fr"
        }
    ],
    "require": {
+1 −1
Changes for src/UnicaenApp/Form/View/Helper/FormDateInfSup.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ class FormDateInfSup extends \Laminas\Form\View\Helper\AbstractHelper
     * @param bool $dateSupReadonly
     * @return string|\UnicaenApp\Form\View\Helper\FormDateInfSup
     */
    public function __invoke(DateInfSup $element = null, $dateInfReadonly = false, $dateSupReadonly = false)
    public function __invoke(?DateInfSup $element = null, $dateInfReadonly = false, $dateSupReadonly = false)
    {
        if (!$element) {
            return $this;
+1 −1
Changes for src/UnicaenApp/Form/View/Helper/FormSearchAndSelect2.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ class FormSearchAndSelect2 extends FormSelect2
        return $this;
    }

    public function __invoke(ElementInterface $element = null): static|string
    public function __invoke(?ElementInterface $element = null): static|string
    {
        if ($element === null) {
            return $this;
+1 −1
Changes for src/UnicaenApp/Form/View/Helper/FormSelect2.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ class FormSelect2 extends FormSelect
        return $this;
    }

    public function __invoke(ElementInterface $element = null): string|static
    public function __invoke(?ElementInterface $element = null): string|static
    {
        if ($element === null) {
            return $this;
Loading