Skip to content

Commit de41204

Browse files
committed
Fix CS
1 parent f5e4950 commit de41204

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Store/CombinedStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function save(Key $key)
100100
public function waitAndSave(Key $key)
101101
{
102102
@trigger_error(sprintf('%s() is deprecated since Symfony 4.4 and will be removed in Symfony 5.0.', __METHOD__), E_USER_DEPRECATED);
103-
throw new NotSupportedException(sprintf('The store "%s" does not support blocking locks.', \get_class($this)));
103+
throw new NotSupportedException(sprintf('The store "%s" does not support blocking locks.', static::class));
104104
}
105105

106106
/**

Store/MemcachedStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function save(Key $key)
7777
public function waitAndSave(Key $key)
7878
{
7979
@trigger_error(sprintf('%s() is deprecated since Symfony 4.4 and will be removed in Symfony 5.0.', __METHOD__), E_USER_DEPRECATED);
80-
throw new NotSupportedException(sprintf('The store "%s" does not support blocking locks.', \get_class($this)));
80+
throw new NotSupportedException(sprintf('The store "%s" does not support blocking locks.', static::class));
8181
}
8282

8383
/**

Store/PdoStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ private function getDriver(): string
317317
} else {
318318
switch ($this->driver = $con->getDriver()->getName()) {
319319
case 'mysqli':
320-
throw new NotSupportedException(sprintf('The store "%s" does not support the mysqli driver, use pdo_mysql instead.', \get_class($this)));
320+
throw new NotSupportedException(sprintf('The store "%s" does not support the mysqli driver, use pdo_mysql instead.', static::class));
321321
case 'pdo_mysql':
322322
case 'drizzle_pdo_mysql':
323323
$this->driver = 'mysql';

Store/RedisStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function save(Key $key)
8181
public function waitAndSave(Key $key)
8282
{
8383
@trigger_error(sprintf('%s() is deprecated since Symfony 4.4 and will be removed in Symfony 5.0.', __METHOD__), E_USER_DEPRECATED);
84-
throw new NotSupportedException(sprintf('The store "%s" does not support blocking locks.', \get_class($this)));
84+
throw new NotSupportedException(sprintf('The store "%s" does not support blocking locks.', static::class));
8585
}
8686

8787
/**

0 commit comments

Comments
 (0)