Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit aa142eb

Browse files
committed
🚿
1 parent 3dc281a commit aa142eb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

examples/Providers/Spotify/mixesdb-scrape.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090

9191
$name = $pageDOM->getElementById('firstHeading')->nodeValue;
9292

93-
$logger->info($name);
93+
$logger->info(($name ?? ''));
9494

9595
// get the tracklist
9696
foreach($pageDOM->getElementsByTagName('ol') as $li){

examples/Providers/Spotify/playlist-diff.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
* @var \Psr\Http\Message\RequestFactoryInterface $requestFactory
2020
* @var \Psr\Log\LoggerInterface $logger
2121
* @var string $CFGDIR
22+
*
23+
* @phan-suppress PhanInvalidCommentForDeclarationType
2224
*/
2325
require_once __DIR__.'/spotify-common.php';
2426

0 commit comments

Comments
 (0)