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.
2 parents d7dcdf2 + b410ca7 commit ec1e6d1Copy full SHA for ec1e6d1
system/ThirdParty/Kint/Utils.php
@@ -109,6 +109,10 @@ public static function composerGetExtras($key = 'kint')
109
if (\file_exists($installed) && \is_readable($installed)) {
110
$packages = \json_decode(\file_get_contents($installed), true);
111
112
+ if (!\is_array($packages)) {
113
+ continue;
114
+ }
115
+
116
foreach ($packages as $package) {
117
if (isset($package['extra'][$key]) && \is_array($package['extra'][$key])) {
118
$extras = \array_replace($extras, $package['extra'][$key]);
0 commit comments