src/Matcher/Voter/FuzzyRouteVoter.php
protected function _normalizeParams(array &$params)
    {
        ksort($params, \SORT_STRING);
        array_walk($params, function (&$value) {
            if (is_numeric($value)) {
                $value = (string)$value;
            }
        });

        if (isset($params['?'])) {
            $this->_normalizeParams($params['?']);
        }
    }
protected function _normalizeParams(array &$params)
    {
        ksort($params, \SORT_STRING);
        array_walk($params, function (&$value) {
            if (is_numeric($value)) {
                $value = (string)$value;
            }
        });

        if (isset($params['?'])) {
            $this->_normalizeParams($params['?']);
        }
    }
protected function _normalizeParams ( array & $ params ) { ksort ( $ params , \ SORT_STRING ) ; array_walk ( $ params , function ( & $ value ) { if ( is_numeric ( $ value ) ) { $ value = ( string ) $ value ; } } ) ; if ( isset ( $ params [ '?' ] ) ) { $ this -> _normalizeParams ( $ params [ '?' ] ) ; } }
Normalizes a set of routing parameters.

Normalization includes:

- casting numeric values to strings
- sorting elements by key

@param array $params The parameters to normalize.
@return void
Normalizes a set of routing parameters .