Skip to content

Commit 492bdfa

Browse files
committed
AC-8862: fix static errors
1 parent 6e6b394 commit 492bdfa

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

lib/internal/Magento/Framework/App/Config.php

+11
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,15 @@ public function get($configType, $path = '', $default = null)
133133

134134
return $result !== null ? $result : $default;
135135
}
136+
137+
/**
138+
* Disable show internals with var_dump
139+
*
140+
* @see https://www.php.net/manual/en/language.oop5.magic.php#object.debuginfo
141+
* @return array
142+
*/
143+
public function __debugInfo()
144+
{
145+
return [];
146+
}
136147
}

0 commit comments

Comments
 (0)