Ver código fonte

Merge branch 'hotfix/remove_api_resource_unneeded_ids'

Olivier Massot 2 meses atrás
pai
commit
963ea1e402
1 arquivos alterados com 0 adições e 17 exclusões
  1. 0 17
      src/ApiResources/HelloAsso/CallbackForwarding.php

+ 0 - 17
src/ApiResources/HelloAsso/CallbackForwarding.php

@@ -22,21 +22,4 @@ use App\State\Provider\HelloAsso\CallbackForwardingProvider;
 )]
 class CallbackForwarding
 {
-    /**
-     * Id 'bidon' ajouté par défaut pour permettre la construction
-     * de l'IRI par api platform.
-     */
-    #[ApiProperty(identifier: true)]
-    private int $id = 1;
-
-    public function getId(): int
-    {
-        return $this->id;
-    }
-
-    public function setId(int $id): self
-    {
-        $this->id = $id;
-        return $this;
-    }
 }