<?php

namespace Accompli\Chrono\Adapter;

/**
 * AdapterInterface.
 *
 * @author Niels Nijens <nijens.niels@gmail.com>
 */
interface AdapterInterface
{
    /**
     * Returns true when the adapter supports the repository URL.
     *
     * @param string $repositoryUrl
     *
     * @return bool
     */
    public function supportsRepository();

    /**
     * Returns the list of branches from the repository.
     *
     * @return array
     */
    public function getBranches();

    /**
     * Returns the list of tags from the repository.
     *
     * @return array
     */
    public function getTags();

    /**
     * Checks out a branch or tag from the repository.
     *
     * @param string $version
     *
     * @return bool
     */
    public function checkout($version);
}

<?php

namespace Accompli\Chrono\Adapter;

/**
 * AdapterInterface.
 *
 * @author Niels Nijens <nijens.niels@gmail.com>
 */
interface AdapterInterface
{
    /**
     * Returns true when the adapter supports the repository URL.
     *
     * @return bool
     */
    public function supportsRepository();

    /**
     * Returns the list of branches from the repository.
     *
     * @return array
     */
    public function getBranches();

    /**
     * Returns the list of tags from the repository.
     *
     * @return array
     */
    public function getTags();

    /**
     * Checks out a branch or tag from the repository.
     *
     * @param string $version
     *
     * @return bool
     */
    public function checkout($version);
}

Remove repositoryUrl as a parameter in comment
Remove repositoryUrl as a parameter in comment
