Fixing wrong inherited methodsyntax

This commit is contained in:
Philipp 2021-11-27 19:58:24 +01:00
parent 6fc2eeaeaf
commit 056702c1e0
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
24 changed files with 25 additions and 25 deletions

View file

@ -68,12 +68,12 @@ class LegacyModule extends BaseModule
require_once $file_path;
}
public function content(array $request = []): string
protected function content(array $request = []): string
{
return $this->runModuleFunction('content');
}
public function post(array $request = [], array $post = [])
protected function post(array $request = [], array $post = [])
{
parent::post($post);