Skip to content

Commit

Permalink
API Update method signature to match parent class (#1502)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Oct 20, 2024
1 parent 74f9efa commit 539a527
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/Controller/AssetAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public function init()
/**
* Returns configuration required by the client app
*/
public function getClientConfig()
public function getClientConfig(): array
{
$baseLink = $this->Link();
$validator = $this->getUpload()->getValidator();
Expand Down
2 changes: 1 addition & 1 deletion code/Controller/AssetAdminOpen.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function init()
/**
* Returns configuration required by the client app
*/
public function getClientConfig()
public function getClientConfig(): array
{
return array_merge(parent::getClientConfig(), [
'reactRouter' => true,
Expand Down

0 comments on commit 539a527

Please sign in to comment.