From 27dfdbc7b2bcd8d0681a0468ba5f3c3f9ae332aa Mon Sep 17 00:00:00 2001 From: Juzaweb Date: Sun, 7 Jan 2024 20:49:51 +0700 Subject: [PATCH] :bug: Fix action function --- composer.json | 7 +++++++ src/MovieAction.php | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 866f932..0a53e3b 100644 --- a/composer.json +++ b/composer.json @@ -8,6 +8,13 @@ "Movie plugin" ], "description": "Movie Juzaweb Plugin help you easily create movie website. It is a powerful, flexible and User friendly movie & Video Steaming Theme with advance video contents management system. It’s easy to use & install. It has been created to provide unique experience to movie lover & movie site owner. To observe of ISP needed we have made MYMO to use as multipurpose video website. It was created to run with MyMo Theme.", + "authors": [ + { + "name": "Juzaweb Team", + "email": "support@juzaweb.com", + "homepage": "https://juzaweb.com" + } + ], "extra": { "juzaweb": { "name": "Movie Plugin - Easily create movie website", diff --git a/src/MovieAction.php b/src/MovieAction.php index eb063f6..417daec 100644 --- a/src/MovieAction.php +++ b/src/MovieAction.php @@ -20,7 +20,7 @@ public function handle(): void ); $this->addAction( Action::INIT_ACTION, - [$this, 'addSettingForm'] + [$this, 'addSettingForms'] ); $this->addAction( Action::INIT_ACTION, @@ -198,7 +198,7 @@ public function registerTaxonomies(): void ); } - public function addSettingForm(): void + public function addSettingForms(): void { HookAction::registerConfig( [ @@ -287,7 +287,7 @@ public function registerResources(): void ], 'url' => [ 'label' => trans('mymo::app.url'), - 'type' => 'upload_url' + 'type' => 'upload_url', ], ], ]