Review the proposed patch then download it to apply it manually or execute the following command from the repository root directory:
curl https://fabbot.io/patch/symfony/symfony/47884/5c613509485048c176ba111cf036dc75d15521b8/cs.diff | patch -p0
diff -ru src/Symfony/Component/Cache/Traits/AbstractTrait.php src/Symfony/Component/Cache/Traits/AbstractTrait.php
--- src/Symfony/Component/Cache/Traits/AbstractTrait.php 2024-05-13 13:28:06.088449537 +0000
+++ src/Symfony/Component/Cache/Traits/AbstractTrait.php 2024-05-13 13:28:08.635538822 +0000
@@ -81,8 +81,6 @@
abstract protected function doSave(array $values, int $lifetime);
/**
- * {@inheritdoc}
- *
* @return bool
*/
public function hasItem($key)
@@ -103,8 +101,6 @@
}
/**
- * {@inheritdoc}
- *
* @param string $prefix
*
* @return bool
@@ -147,8 +143,6 @@
}
/**
- * {@inheritdoc}
- *
* @return bool
*/
public function deleteItem($key)
@@ -157,8 +151,6 @@
}
/**
- * {@inheritdoc}
- *
* @return bool
*/
public function deleteItems(array $keys)
@@ -218,9 +210,6 @@
return $wasEnabled;
}
- /**
- * {@inheritdoc}
- */
public function reset()
{
if ($this->deferred) {
@@ -235,8 +224,6 @@
*
* @param string $value
*
- * @return mixed
- *
* @throws \Exception
*
* @deprecated since Symfony 4.2, use DefaultMarshaller instead.