Skip to content

Commit

Permalink
Fix call to get_parent_class() for PHP 8.3 (#839)
Browse files Browse the repository at this point in the history
Co-authored-by: Benoit Borrel <[email protected]>
  • Loading branch information
bborrel and Benoit Borrel authored Oct 2, 2024
1 parent 0e8680d commit 9f738c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/injection.class.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class %%CLASSNAME%%Injection extends %%CLASSNAME%% implements PluginDatainjectio
* @return string
**/
static function getTable($classname = null) {
return getTableForItemType(get_parent_class());
return getTableForItemType(get_parent_class(__CLASS__));
}

static function getTypeName($nb = 0) {
Expand Down

0 comments on commit 9f738c9

Please sign in to comment.