Code Duplication    Length = 3-3 lines in 2 locations

public/old/includes/functions.users.php 1 location

@@ 524-526 (lines=3) @@
521
            case 'small': // 50px x 50px
522
                return '//www.gravatar.com/avatar/'.md5(strtolower(trim($user->email))).'?s=50&d=mm';
523
                break;
524
            case 'large': // 200px x 200px
525
                return '//www.gravatar.com/avatar/'.md5(strtolower(trim($user->email))).'?s=200&d=mm';
526
                break;
527
            default:
528
                return '//www.gravatar.com/avatar/'.md5(strtolower(trim($user->email))).'?s=50&d=mm';
529
                break;

generated-classes/TechWilk/Rota/User.php 1 location

@@ 145-147 (lines=3) @@
142
            case 'medium': // 200px x 200px
143
                return '//www.gravatar.com/avatar/'.md5(strtolower(trim($this->email))).'?s=200&d=mm';
144
                break;
145
            case 'large': // 500px x 500px
146
                return '//www.gravatar.com/avatar/'.md5(strtolower(trim($this->email))).'?s=500&d=mm';
147
                break;
148
            default:
149
                return '//www.gravatar.com/avatar/'.md5(strtolower(trim($this->email))).'?s=50&d=mm';
150
            break;