<commit_before><?php

/*
 * This file is part of the DoctrineSortableCollections.
 *
 * (c) <NAME> <<EMAIL>>
 */

namespace DoctrineSortableCollections\Comparer;

/**
 * Interface ComparerInterface.
 *
 * Interface for the comparer
 *
 * @package DoctrineSortableCollections
 * @author  <NAME> <<EMAIL>>
 * @link    www.github.com/lorenzomar/doctrine-sortable-collections
 */
interface ComparerInterface
{
    /**
     * Compare two element of a collection
     *
     * Return:
     * $o1 < $o2: 1
     * $o1 == $o2: 0
     * $o1 > $o2: -1
     *
     * @param mixed $e1 first element of comparison
     * @param mixed $e2 second element of comparison
     *
     * @return mixed
     */
    public function compare($e1, $e2);
}<commit_msg>Updated 'compare' doc<commit_after><?php

/*
 * This file is part of the DoctrineSortableCollections.
 *
 * (c) <NAME> <<EMAIL>>
 */

namespace DoctrineSortableCollections\Comparer;

/**
 * Interface ComparerInterface.
 *
 * Interface for the comparer
 *
 * @package DoctrineSortableCollections
 * @author  <NAME> <<EMAIL>>
 * @link    www.github.com/lorenzomar/doctrine-sortable-collections
 */
interface ComparerInterface
{
    /**
     * Compare two element of a collection
     *
     * Return:
     * $e1 < $e2: 1
     * $e1 == $e2: 0
     * $e1 > $e2: -1
     *
     * @param mixed $e1 first element of comparison
     * @param mixed $e2 second element of comparison
     *
     * @return mixed
     */
    public function compare($e1, $e2);
}
{'fraction_non_alphanumeric': 0.12885906040268458, 'fraction_numerical': 0.0174496644295302, 'mean_word_length': 2.736842105263158, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3871043', 'n_tokens_mistral': 501, 'n_tokens_neox': 491, 'n_words': 130}