BaguettePHP/mastodon-api

View on GitHub
src/Entity/helpers.php

Summary

Maintainability
A
0 mins
Test Coverage

Call to method toArray from undeclared class \Teto\Object\Helper
Open

        return \Teto\Object\Helper::toArray($value);
Severity: Critical
Found in src/Entity/helpers.php by phan

Expected an object instance or the name of a class but saw expression with type false|string
Open

            $retval[] = ($obj instanceof $class) ? $obj : new $class($obj);
Severity: Minor
Found in src/Entity/helpers.php by phan

There are no issues that match your filters.

Category
Status