diff --git a/src/Flex.php b/src/Flex.php index 17703259d..de4ee857a 100644 --- a/src/Flex.php +++ b/src/Flex.php @@ -104,6 +104,9 @@ class Flex implements PluginInterface, EventSubscriberInterface ]; private $filter; + /** + * @return void + */ public function activate(Composer $composer, IOInterface $io) { if (!\extension_loaded('openssl')) { @@ -291,6 +294,9 @@ class_exists(__NAMESPACE__.str_replace('/', '\\', substr($file, \strlen(__DIR__) } } + /** + * @return void + */ public function deactivate(Composer $composer, IOInterface $io) { self::$activated = false; @@ -594,6 +600,9 @@ private function synchronizePackageJson(string $rootDir) } } + /** + * @return void + */ public function uninstall(Composer $composer, IOInterface $io) { $this->lock->delete(); diff --git a/src/InformationOperation.php b/src/InformationOperation.php index 288dcc6f9..8cad6a863 100644 --- a/src/InformationOperation.php +++ b/src/InformationOperation.php @@ -57,6 +57,8 @@ public function getJobType() /** * {@inheritdoc} + * + * @return string */ public function getOperationType() { @@ -65,6 +67,8 @@ public function getOperationType() /** * {@inheritdoc} + * + * @return string */ public function show($lock) { diff --git a/src/Response.php b/src/Response.php index 638456234..f334c0396 100644 --- a/src/Response.php +++ b/src/Response.php @@ -65,6 +65,9 @@ public static function fromJson(array $json): self return $response; } + /** + * @return mixed + */ #[\ReturnTypeWillChange] public function jsonSerialize() {