Skip to content

Commit

Permalink
API Update method signature to match parent class (silverstripe#1262)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Oct 20, 2024
1 parent bb68146 commit 5fa5743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controllers/ElementalAreaController.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public function apiUnpublish(HTTPRequest $request): HTTPResponse
/**
* Returns configuration required by the client app
*/
public function getClientConfig()
public function getClientConfig(): array
{
$clientConfig = parent::getClientConfig();
$clientConfig['form']['elementForm'] = [
Expand Down

0 comments on commit 5fa5743

Please sign in to comment.