Skip to content

Commit 583e85c

Browse files
authored
Update transfer.md
1 parent b31db9a commit 583e85c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/transfer.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ $last->balance; // int(0)
4242
The transfer will be from the first user to the second.
4343

4444
```php
45-
$first->transfer($second, 5);
45+
$first->transfer($last, 5);
4646
$first->balance; // int(95)
47-
$second->balance; // int(5)
47+
$last->balance; // int(5)
4848
```
4949

5050
It worked!
@@ -61,9 +61,9 @@ $last->balance; // int(0)
6161
The transfer will be from the first user to the second.
6262

6363
```php
64-
$first->forceTransfer($second, 500);
64+
$first->forceTransfer($last, 500);
6565
$first->balance; // int(-400)
66-
$second->balance; // int(500)
66+
$last->balance; // int(500)
6767
```
6868

6969
It worked!

0 commit comments

Comments
 (0)