Resolver/Paginator/PaginatorWheresEvaluator.php
private function addWildcards(
        string $annotationWhereParameter,
        string $whereValue
    ) : string {
        if (substr($annotationWhereParameter, 0, 1) === '%') {
            $whereValue = '%' . $whereValue;
        }

        if (substr($annotationWhereParameter, -1, 1) === '%') {
            $whereValue = $whereValue . '%';
        }

        return $whereValue;
    }
private function addWildcards(
        string $annotationWhereParameter,
        string $whereValue
    ) : string {
        if (substr($annotationWhereParameter, 0, 1) === '%') {
            $whereValue = '%' . $whereValue;
        }

        if (substr($annotationWhereParameter, -1, 1) === '%') {
            $whereValue = $whereValue . '%';
        }

        return $whereValue;
    }
private function addWildcards ( string $ annotationWhereParameter , string $ whereValue ) : string { if ( substr ( $ annotationWhereParameter , 0 , 1 ) === '%' ) { $ whereValue = '%' . $ whereValue ; } if ( substr ( $ annotationWhereParameter , - 1 , 1 ) === '%' ) { $ whereValue = $ whereValue . '%' ; } return $ whereValue ; }
Add wildcards to query if necessary.

@param string $annotationWhereParameter
@param string $whereValue

@return string
Add wildcards to query if necessary .