Skip to content

Commit

Permalink
Cast id as string (#38)
Browse files Browse the repository at this point in the history
* Update FilingPurpose.php

protected $keyType = 'string';

* Apply fixes from StyleCI

---------

Co-authored-by: StyleCI Bot <[email protected]>
  • Loading branch information
ngaspari and StyleCIBot authored May 14, 2024
1 parent 42cf00e commit 40f5763
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/App/Models/FilingPurpose.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ class FilingPurpose extends Model implements \Asseco\Attachments\App\Contracts\F

protected $guarded = ['id', 'created_at', 'updated_at'];

protected $keyType = 'string';

public function attachments(): HasMany
{
return $this->hasMany(Attachment::class);
Expand Down

0 comments on commit 40f5763

Please sign in to comment.