We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8c703d commit cd8448fCopy full SHA for cd8448f
astroid/astroid-framework/framework/library/astroid/Helper/Font.php
@@ -41,6 +41,11 @@ public static function googleFonts()
41
$app = \JFactory::getApplication();
42
$fonts = Helper::getJSONData('webfonts');
43
$options = [];
44
+
45
+ if (!isset($fonts['items'])) {
46
+ return $options;
47
+ }
48
49
foreach ($fonts['items'] as $font) {
50
$variants = [];
51
if (count($font['variants']) > 1) {
0 commit comments