Skip to content

Commit 0d8b948

Browse files
committed
Fix return type
1 parent 6386325 commit 0d8b948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/ModelCaching.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function scopeWithCacheCooldownSeconds(
112112
return $query;
113113
}
114114

115-
public function getcacheCooldownSecondsAttribute() : bool
115+
public function getcacheCooldownSecondsAttribute() : int
116116
{
117117
return $this->cacheCooldownSeconds;
118118
}

0 commit comments

Comments
 (0)