Skip to content

Commit

Permalink
add subtitle
Browse files Browse the repository at this point in the history
  • Loading branch information
trananhmanh89 committed Feb 25, 2020
1 parent 44ebc09 commit 1ae82fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ protected static function getBillboardChartByDom($url)
foreach ($list as $elm) {
$item = new stdClass;
$item->title = trim($elm->data('title'));
$item->subtitle = '';
$item->subtitle = trim($elm->data('artist'));
$item->rank = (int) trim($elm->data('rank'));

$miniStats = $elm->find('.chart-list-item__ministats > .chart-list-item__ministats-cell');
Expand Down

0 comments on commit 1ae82fd

Please sign in to comment.