[CORE] Plugin API now extends a new Module API

This commit is contained in:
Diogo Cordeiro
2019-08-12 15:03:30 +01:00
committed by Diogo Peralta Cordeiro
parent 3821d2317e
commit 20a6f1d4f4
397 changed files with 3093 additions and 1450 deletions

View File

@@ -134,7 +134,7 @@ class ImageMagickPlugin extends Plugin
return getimagesize($outpath); // Verify that we wrote an understandable image.
}
public function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'ImageMagick',
'version' => self::PLUGIN_VERSION,