Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Commit

Permalink
fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkingshott committed Jan 17, 2022
1 parent 7689c4c commit 99971ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SnowflakeCast.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function get($model, string $key, $value, array $attributes) : string
* Prepare the given value for storage.
*
*/
public function set($model, string $key, $value, array $attributes) : mixed
public function set($model, string $key, $value, array $attributes) : int
{
return (int) $value;
}
Expand Down

0 comments on commit 99971ee

Please sign in to comment.