Skip to content

Commit 68cdcde

Browse files
committed
Fix CS
1 parent b502cb0 commit 68cdcde

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Flex.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ class_exists(__NAMESPACE__.str_replace('/', '\\', substr($file, \strlen(__DIR__)
121121

122122
// if Flex is being upgraded, the original operations from the original Flex
123123
// instance are stored in the static property, so we can reuse them now.
124-
if (property_exists(Flex::class, 'storedOperations') && Flex::$storedOperations) {
125-
$this->operations = Flex::$storedOperations;
126-
Flex::$storedOperations = [];
124+
if (property_exists(self::class, 'storedOperations') && self::$storedOperations) {
125+
$this->operations = self::$storedOperations;
126+
self::$storedOperations = [];
127127
}
128128

129129
$symfonyRequire = preg_replace('/\.x$/', '.x-dev', getenv('SYMFONY_REQUIRE') ?: ($composer->getPackage()->getExtra()['symfony']['require'] ?? ''));
@@ -213,7 +213,7 @@ public function deactivate(Composer $composer, IOInterface $io)
213213
{
214214
// Using `Flex::` instead of `self::` to avoid issues when
215215
// composer renames plugin classes when upgrading them
216-
Flex::$storedOperations = $this->operations;
216+
self::$storedOperations = $this->operations;
217217
self::$activated = false;
218218
}
219219

0 commit comments

Comments
 (0)