mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
15 lines
363 B
PHP
15 lines
363 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Contracts\Extensions;
|
|
|
|
use Hashids\HashidsInterface as VendorHashidsInterface;
|
|
use InvalidArgumentException;
|
|
|
|
interface HashidsInterface extends VendorHashidsInterface
|
|
{
|
|
/** @throws InvalidArgumentException */
|
|
public function decodeFirst(string $encoded, ?string $default = null): int|string|null;
|
|
}
|