Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 3
NoCycleDetection
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 3
 canProceed
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 3
<?php
declare(strict_types = 1);
namespace Siesta\Util;
use Siesta\Contract\CycleDetector;
/**
 * @author Gregor Müller
 */
class NoCycleDetection implements CycleDetector
{
    /**
     * @param $tableName
     * @param $visitor
     *
     * @return bool
     */
    public function canProceed($tableName, $visitor)
    {
        return true;
    }
}