Skip to content

Commit b1cb65c

Browse files
committed
fixed php 5.4 support
1 parent de9d943 commit b1cb65c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Providers/Api/Gist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function run()
2626
*/
2727
public function getType()
2828
{
29-
if (!empty($this->getCode())) {
29+
if ($this->getCode() !== null) {
3030
return 'rich';
3131
}
3232
}

0 commit comments

Comments
 (0)