File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -97,9 +97,9 @@ public function wallet(): BelongsTo
9797 }
9898
9999 /**
100- * @return float
100+ * @return int| float
101101 */
102- public function getAmountFloatAttribute (): float
102+ public function getAmountFloatAttribute ()
103103 {
104104 $ decimalPlaces = app (WalletService::class)
105105 ->decimalPlaces ($ this ->wallet );
@@ -109,10 +109,10 @@ public function getAmountFloatAttribute(): float
109109 }
110110
111111 /**
112- * @param float $amount
113- * @return float
112+ * @param int| float $amount
113+ * @return void
114114 */
115- public function setAmountFloatAttribute (float $ amount ): void
115+ public function setAmountFloatAttribute ($ amount ): void
116116 {
117117 $ math = app (Mathable::class);
118118 $ decimalPlaces = app (WalletService::class)
You can’t perform that action at this time.
0 commit comments