Fix notification events callers
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Traits;
|
||||
|
||||
use Hashids\Hashids;
|
||||
@@ -10,7 +9,7 @@ trait HashIdTrait
|
||||
* @return string
|
||||
* @throws \Hashids\HashidsException
|
||||
*/
|
||||
protected static function createNewHashId()
|
||||
protected static function createNewHashId(): string
|
||||
{
|
||||
$hashids = new Hashids('', 12);
|
||||
$mt = str_replace('.', '', microtime(true));
|
||||
@@ -19,6 +18,7 @@ trait HashIdTrait
|
||||
|
||||
/**
|
||||
* Register callbacks
|
||||
* @throws \Hashids\HashidsException
|
||||
*/
|
||||
protected static function bootHashIdTrait()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user