1<?php 2 3namespace Pterodactyl\Contracts\Extensions; 4 5use Hashids\HashidsInterface as VendorHashidsInterface; 6 7interface HashidsInterface extends VendorHashidsInterface 8{ 9 /** 10 * Decode an encoded hashid and return the first result. 11 * 12 * @throws \InvalidArgumentException 13 */ 14 public function decodeFirst(string $encoded, ?string $default = null): mixed; 15} 16 17