Skip to content

Commit

Permalink
Fix for php8 (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsekka committed Jan 25, 2021
1 parent d01a5f1 commit 18ed550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller.php
Expand Up @@ -103,7 +103,7 @@ public function postEdit($group = null)
}
}

public function postDelete($group = null, $key)
public function postDelete($group, $key)
{
if(!in_array($group, $this->manager->getConfig('exclude_groups')) && $this->manager->getConfig('delete_enabled')) {
Translation::where('group', $group)->where('key', $key)->delete();
Expand Down

0 comments on commit 18ed550

Please sign in to comment.