<?php
return function ($class) {
    static $map;
    
    if (!$map) {
        $map = include __DIR__ . '/autoload_classmap.php';
    }

    if (!isset($map[$class])) {
        return false;
    }
    return include $map[$class];
};
<?php
return function ($class) {
    static $map = null;
    
    if (!$map) {
        $map = include __DIR__ . '/autoload_classmap.php';
    }

    if (!isset($map[$class])) {
        return false;
    }
    return include $map[$class];
};
Fix to prevent SDK warning
Fix to prevent SDK warning