public function removeCheck($check)
    {
        if (in_array($check, $this->checks)) {
            $this->checks = array_diff($this->checks, [$check]);
        }
    }
public function removeCheck($check)
    {
        if (in_array($check, $this->checks)) {
            $this->checks = array_diff($this->checks, [$check]);
        }
    }
public function removeCheck ( $ check ) { if ( in_array ( $ check , $ this -> checks ) ) { $ this -> checks = array_diff ( $ this -> checks , [ $ check ] ) ; } }
Remove a check from the list causing it to be skipped.

@param string $check
Remove a check from the list causing it to be skipped .