PluginProbe
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF / trunk
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF vtrunk
2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.9 2.2.8 trunk 1.10 1.3.3 1.3.4 1.3.5 1.3.5.1 1.3.5.2 1.3.6 1.3.6.1 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 All 103 releases
← All changes | vendor/composer/installers/src/Composer/Installers/TaoInstaller.php +3 -1 1.10 → trunk View file →
@@ -1,5 +1,6 @@
1 1 <?php
2 +
2 3 namespace Composer\Installers;
3 4
4 5 /**
5 6 * An installer to handle TAO extensions.
@@ -7,13 +8,14 @@
7 8 class TaoInstaller extends BaseInstaller
8 9 {
9 10 const EXTRA_TAO_EXTENSION_NAME = 'tao-extension-name';
10 11
12 + /** @var array<string, string> */
11 13 protected $locations = array(
12 14 'extension' => '{$name}'
13 15 );
14 16
15 - public function inflectPackageVars($vars)
17 + public function inflectPackageVars(array $vars): array
16 18 {
17 19 $extra = $this->package->getExtra();
18 20
19 21 if (array_key_exists(self::EXTRA_TAO_EXTENSION_NAME, $extra)) {