diff --git a/framework/core/src/Extend/ApiResource.php b/framework/core/src/Extend/ApiResource.php index 71cce699cb..cccea256a9 100644 --- a/framework/core/src/Extend/ApiResource.php +++ b/framework/core/src/Extend/ApiResource.php @@ -86,7 +86,6 @@ public function endpointsAfter(string $after, callable|string $endpoints): self /** * Add endpoints to the resource before all other endpoints. * - * @param string $after the name of the endpoint to add the new endpoints after. * @param callable|class-string $endpoints must be a callable that returns an array of objects that implement \Flarum\Api\Endpoint\Endpoint. */ public function endpointsBeforeAll(callable|string $endpoints): self