mirror of
https://github.com/friendica/friendica
synced 2025-04-28 17:44:22 +02:00
Add Core\Logger to the introspection skip class list
- Make class list explicit to avoid confusion between similar class names - Update skipped class string match to a safer "starts with" condition
This commit is contained in:
parent
9dbcbe0482
commit
8b1947bd78
2 changed files with 4 additions and 5 deletions
|
@ -104,7 +104,7 @@ class Introspection implements IHaveCallIntrospections
|
|||
|
||||
if (isset($traceItem['class'])) {
|
||||
foreach ($this->skipClassesPartials as $part) {
|
||||
if (strpos($traceItem['class'], $part) !== false) {
|
||||
if (strpos($traceItem['class'], $part) === 0) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue