Skip to content

Commit b410ca7

Browse files
committed
chore: update Kint to 4.1.4 in ThirdParty
1 parent c0b9928 commit b410ca7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

system/ThirdParty/Kint/Utils.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ public static function composerGetExtras($key = 'kint')
109109
if (\file_exists($installed) && \is_readable($installed)) {
110110
$packages = \json_decode(\file_get_contents($installed), true);
111111

112+
if (!\is_array($packages)) {
113+
continue;
114+
}
115+
112116
foreach ($packages as $package) {
113117
if (isset($package['extra'][$key]) && \is_array($package['extra'][$key])) {
114118
$extras = \array_replace($extras, $package['extra'][$key]);

0 commit comments

Comments
 (0)