Skip to content

Commit e22c7cd

Browse files
authored
fix: deprecations triggered by debug class loader
1 parent 3c9c342 commit e22c7cd

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

src/Flex.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ class Flex implements PluginInterface, EventSubscriberInterface
8686
];
8787
private $filter;
8888

89+
/**
90+
* @return void
91+
*/
8992
public function activate(Composer $composer, IOInterface $io)
9093
{
9194
if (!\extension_loaded('openssl')) {
@@ -193,6 +196,9 @@ class_exists(__NAMESPACE__.str_replace('/', '\\', substr($file, \strlen(__DIR__)
193196
}
194197
}
195198

199+
/**
200+
* @return void
201+
*/
196202
public function deactivate(Composer $composer, IOInterface $io)
197203
{
198204
self::$activated = false;
@@ -498,6 +504,9 @@ private function synchronizePackageJson(string $rootDir)
498504
}
499505
}
500506

507+
/**
508+
* @return void
509+
*/
501510
public function uninstall(Composer $composer, IOInterface $io)
502511
{
503512
$this->lock->delete();

src/InformationOperation.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ public function getJobType()
5757

5858
/**
5959
* {@inheritdoc}
60+
*
61+
* @return string
6062
*/
6163
public function getOperationType()
6264
{
@@ -65,6 +67,8 @@ public function getOperationType()
6567

6668
/**
6769
* {@inheritdoc}
70+
*
71+
* @return string
6872
*/
6973
public function show($lock)
7074
{

src/Response.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ public static function fromJson(array $json): self
6565
return $response;
6666
}
6767

68+
/**
69+
* @return mixed
70+
*/
6871
#[\ReturnTypeWillChange]
6972
public function jsonSerialize()
7073
{

0 commit comments

Comments
 (0)