<commit_before><?php
namespace Egils\Cache;

use Exception;
use Psr\Cache\CacheException as CacheExceptionInterface;

class CacheException extends Exception implements CacheExceptionInterface
{
    /**
     * @param string $name
     * @return CacheException
     */
    public static function adapterAlreadyExists($name)
    {
        return new static("Adapter '" . $name . "' already exists");
    }

    public static function adapterNameNotString($name)
    {
        return new static ("Adapter name expected to be string, " . gettype($name) . " given");
    }
}<commit_msg>Add missing CacheException PHPDoc block<commit_after><?php
namespace Egils\Cache;

use Exception;
use Psr\Cache\CacheException as CacheExceptionInterface;

class CacheException extends Exception implements CacheExceptionInterface
{
    /**
     * @param string $name
     * @return CacheException
     */
    public static function adapterAlreadyExists($name)
    {
        return new static("Adapter '" . $name . "' already exists");
    }

    /**
     * @param string $name
     * @return CacheException
     */
    public static function adapterNameNotString($name)
    {
        return new static ("Adapter name expected to be string, " . gettype($name) . " given");
    }
}
{'fraction_non_alphanumeric': 0.10007942811755362, 'fraction_numerical': 0.0, 'mean_word_length': 3.186046511627907, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5506439', 'n_tokens_mistral': 325, 'n_tokens_neox': 321, 'n_words': 99}