Skip to content

Commit db8feba

Browse files
authored
fix getLink requiring params for links without arguments (delete-all)
1 parent 18c4e98 commit db8feba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MailPanel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function getPanel(): string
100100
* Run-time link helper
101101
* @param array<string, string> $params
102102
*/
103-
public function getLink(string $action, array $params): string
103+
public function getLink(string $action, array $params = []): string
104104
{
105105
$url = $this->request->getUrl();
106106
$baseUrl = substr($url->getPath(), strrpos($url->getScriptPath(), '/') + 1);

0 commit comments

Comments
 (0)