Skip to content

Commit

Permalink
调整BurgerBuilder类代码格式
Browse files Browse the repository at this point in the history
  • Loading branch information
guanguans committed Apr 30, 2024
1 parent 81dbfe9 commit c9549b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,10 +489,10 @@ class BurgerBuilder

```php
$burger = (new BurgerBuilder(14))
->addPepperoni()
->addLettuce()
->addTomato()
->build();
->addPepperoni()
->addLettuce()
->addTomato()
->build();
```

**什么时候使用?**
Expand Down

0 comments on commit c9549b5

Please sign in to comment.