mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-19 11:14:06 +00:00
Laravel 13 upgrade, updates and fixes
This commit is contained in:
22
app/Facades/Hashids.php
Normal file
22
app/Facades/Hashids.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Facades;
|
||||
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
|
||||
/**
|
||||
* @method static string encode(mixed ...$numbers)
|
||||
* @method static array decode(string $hash)
|
||||
* @method static string encodeHex(string $str)
|
||||
* @method static string decodeHex(string $hash)
|
||||
* @method static \Hashids\Hashids connection(string|null $name = null)
|
||||
*/
|
||||
class Hashids extends Facade
|
||||
{
|
||||
protected static function getFacadeAccessor(): string
|
||||
{
|
||||
return 'hashids';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user