Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: AllowedArrayKeysTypes.php
<?php declare(strict_types = 1); namespace PHPStan\Rules\Arrays; use PHPStan\Type\BooleanType; use PHPStan\Type\FloatType; use PHPStan\Type\IntegerType; use PHPStan\Type\NullType; use PHPStan\Type\StringType; use PHPStan\Type\Type; use PHPStan\Type\UnionType; class AllowedArrayKeysTypes { public static function getType(): Type { return new UnionType([ new IntegerType(), new StringType(), new FloatType(), new BooleanType(), new NullType(), ]); } }