src/Viserio/Component/Config/Command/ConfigCacheCommand.php
public function handle(): int
    {
        $this->callConfigClearCommand();

        $returnValue = \file_put_contents(
            $this->getCachedConfigPath(),
            '<?php' . \PHP_EOL . 'declare(strict_types=1);' . \PHP_EOL . \PHP_EOL . 'return ' . VarExporter::export($this->getConfiguration()) . ';' . \PHP_EOL
        );

        $this->info('Configuration cached successfully!');

        return (int) $returnValue;
    }
public function handle(): int
    {
        $this->callConfigClearCommand();

        $returnValue = \file_put_contents(
            $this->getCachedConfigPath(),
            '<?php' . \PHP_EOL . 'declare(strict_types=1);' . \PHP_EOL . \PHP_EOL . 'return ' . VarExporter::export($this->getConfiguration()) . ';' . \PHP_EOL
        );

        $this->info('Configuration cached successfully!');

        return (int) $returnValue;
    }
{@inheritdoc}