<?php
declare(strict_types=1);

namespace Moka\Traits;

use Moka\Moka;

/**
 * Trait MokaCleanerTrait
 * @package Moka\Traits
 */
trait MokaCleanerTrait
{
    /**
     * @return void
     */
    public function tearDown()
    {
        Moka::clean();
    }
}

<?php
declare(strict_types=1);

namespace Moka\Traits;

use Moka\Moka;

/**
 * Trait MokaCleanerTrait
 * @package Moka\Traits
 */
trait MokaCleanerTrait
{
    /**
     * @return void
     */
    public function tearDown()
    {
        Moka::reset();
    }
}

Use reset() instead of clean()
Use reset() instead of clean()
