Skip to content

Commit

Permalink
Merge develop and fix container method error
Browse files Browse the repository at this point in the history
  • Loading branch information
Khadreal committed Dec 18, 2024
1 parent 0c5f518 commit d630fa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/ThirdParty/Plugins/GravityForms.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ private function is_gravity_forms_no_conflict_mode_enabled(): bool {
return is_plugin_active( 'gravityforms/gravityforms.php' )
&& class_exists( 'GFCommon' )
&& get_option( 'gform_enable_noconflict', false )
&& GFForms::is_gravity_page();
&& GFForms::is_gravity_page(); // @phpstan-ignore-line
}
}
2 changes: 1 addition & 1 deletion classes/ThirdParty/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ public function get_subscribers() {
* @return void
*/
public function register(): void {
$this->getContainer()->share( 'gravity_from_subscriber', GravityForms::class );
$this->getContainer()->addShared( 'gravity_from_subscriber', GravityForms::class );
}
}

0 comments on commit d630fa1

Please sign in to comment.