<commit_before><?php

/* !
 * SmoothPHP
 * This file is part of the SmoothPHP project.
 * * * *
 * Copyright (C) 2016 <NAME>
 * License: https://github.com/Ikkerens/SmoothPHP/blob/master/License.md
 * * * *
 * ImmediateCacheProvider.php
 * Description
 */

namespace SmoothPHP\Framework\Cache;

class ImmediateCacheProvider extends RuntimeCacheProvider {

    public function fetch($sourceFile, callable $cacheBuilder = null) {
        $cacheBuilder = $cacheBuilder ?: $this->cacheBuilder;
        return $cacheBuilder(realpath($sourceFile));
    }

}<commit_msg>Fixed wrong path being passed to ImmediateCacheProvider<commit_after><?php

/* !
 * SmoothPHP
 * This file is part of the SmoothPHP project.
 * * * *
 * Copyright (C) 2016 <NAME>
 * License: https://github.com/Ikkerens/SmoothPHP/blob/master/License.md
 * * * *
 * ImmediateCacheProvider.php
 * Description
 */

namespace SmoothPHP\Framework\Cache;

class ImmediateCacheProvider extends RuntimeCacheProvider {

    public function fetch($sourceFile, callable $cacheBuilder = null) {
        $cacheBuilder = $cacheBuilder ?: $this->cacheBuilder;
        return $cacheBuilder($sourceFile);
    }

}
{'fraction_non_alphanumeric': 0.11480865224625623, 'fraction_numerical': 0.0066555740432612314, 'mean_word_length': 3.3745454545454545, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '5888898', 'n_tokens_mistral': 379, 'n_tokens_neox': 339, 'n_words': 76}