We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce5a1cf commit 762883eCopy full SHA for 762883e
src/Traits/HasWallet.php
@@ -220,8 +220,9 @@ public function balance(): MorphMany
220
* With static:
221
* var_dump($user1->balance, $user2->balance); // 100 100
222
* $user1->deposit(100);
223
+ * var_dump($user1->balance); // 200
224
* $user2->deposit(100);
- * var_dump($user1->balance, $user2->balance); // 200 300
225
+ * var_dump($user2->balance); // 300
226
*
227
* @return int
228
*/
0 commit comments