| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 10 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1);  | 
            ||
| 58 | public function getSpotifyUsername(): string  | 
            ||
| 59 |     { | 
            ||
| 60 |         $spotifyUsername = (string)$this->get('SPOTIFY_USERNAME'); | 
            ||
| 61 |         if (empty($spotifyUsername)) { | 
            ||
| 62 | throw new RuntimeException(  | 
            ||
| 63 | sprintf(Message::ERROR_GET_ENV_VARIABLE, 'SPOTIFY_USERNAME')  | 
            ||
| 64 | );  | 
            ||
| 65 | }  | 
            ||
| 66 | |||
| 67 | return $spotifyUsername;  | 
            ||
| 68 | }  | 
            ||
| 79 |