Skip to content

Commit f47d7d2

Browse files
src(ProjectData): fix getProjectColors isset logic
1 parent d612650 commit f47d7d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ProjectData.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ public function setMuteMusic($muteMusic)
154154
*/
155155
public function getProjectColors()
156156
{
157-
$projectColors = $this->projectDataJson['data']['projectColors'];
158-
return isset($projectColors) ? $projectColors : null;
157+
return isset($this->projectDataJson['data']['projectColors']) ?
158+
$this->projectDataJson['data']['projectColors'] : null;
159159
}
160160

161161
/**

0 commit comments

Comments
 (0)