<commit_before><?php

/**
 * Interface that sortable collections must implement.
 *
 * PHP Version 5.3
 *
 * @copyright   (c) 2014 <NAME>
 * @author      <NAME> <<EMAIL>>
 * @license     http://opensource.org/licenses/MIT MIT
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace ptlis\SemanticVersion\Collection;

/**
 * Interface that sortable collections must implement.
 */
interface SortableCollectionInterface extends CollectionInterface
{
    /**
     * Set the internal store to the provided values.
     *
     * @param array $versionList
     *
     * @return void
     */
    public function setList(array $versionList);


    /**
     * Returns a new sorted collection.
     *
     * @return SortableCollectionInterface with elements in ascending order
     */
    public function getAscending();


    /**
     * Returns a new sorted collection.
     *
     * @return SortableCollectionInterface with elements in descending order
     */
    public function getDescending();
}<commit_msg>Docblock fixes.<commit_after><?php

/**
 * Interface that sortable collections must implement.
 *
 * PHP Version 5.3
 *
 * @copyright   (c) 2014 <NAME>
 * @author      <NAME> <<EMAIL>>
 * @license     http://opensource.org/licenses/MIT MIT
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace ptlis\SemanticVersion\Collection;

/**
 * Interface that sortable collections must implement.
 */
interface SortableCollectionInterface extends CollectionInterface
{
    /**
     * Set the internal store to the provided values.
     *
     * @param array $versionList
     *
     * @return SortableCollectionInterface
     */
    public function setList(array $versionList);


    /**
     * Returns a new sorted collection.
     *
     * @return SortableCollectionInterface New instance with elements in ascending order
     */
    public function getAscending();


    /**
     * Returns a new sorted collection.
     *
     * @return SortableCollectionInterface New instance with elements in descending order
     */
    public function getDescending();
}
{'fraction_non_alphanumeric': 0.08903803131991052, 'fraction_numerical': 0.005369127516778523, 'mean_word_length': 2.943562610229277, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1089331', 'n_tokens_mistral': 587, 'n_tokens_neox': 558, 'n_words': 201}