Fix formatting and interfaces in nearly every file
This commit is contained in:
@@ -8,7 +8,6 @@ trait ExpensableTrait
|
||||
{
|
||||
public static function bootExpensableTrait()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Traits;
|
||||
|
||||
use Hashids\Hashids;
|
||||
@@ -13,6 +14,7 @@ trait HashIdTrait
|
||||
{
|
||||
$hashids = new Hashids('', 12);
|
||||
$mt = str_replace('.', '', microtime(true));
|
||||
|
||||
return $hashids->encode($mt);
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@ use App\Models\Journal;
|
||||
|
||||
trait JournalTrait
|
||||
{
|
||||
|
||||
/**
|
||||
* Initialize a new journal when a new record is created
|
||||
*/
|
||||
@@ -44,6 +43,7 @@ trait JournalTrait
|
||||
$this->journal()->save($journal);
|
||||
|
||||
$journal->refresh();
|
||||
|
||||
return $journal;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user