forked from GNUsocial/gnu-social
[TOOLS] Fix all level 0 errors found by PHPStan and move constant definition to bootstrap file
This commit is contained in:
@@ -32,7 +32,7 @@ abstract class Bitmap
|
||||
private static function _to(int $r, bool $instance)
|
||||
{
|
||||
$init = $r;
|
||||
$class = get_called_class();
|
||||
$class = static::class;
|
||||
if ($instance) {
|
||||
$obj = new $class;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user