Skip to content

Commit 58ba5d1

Browse files
committed
remove new in method name
1 parent f7a2621 commit 58ba5d1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -721,11 +721,11 @@ inventoryTracker('apples', $req, 'www.inventory-awesome.io');
721721

722722
**Good**:
723723
```php
724-
function newRequestModule($url) {
724+
function requestModule($url) {
725725
// ...
726726
}
727727

728-
$req = new newRequestModule($requestUrl);
728+
$req = new requestModule($requestUrl);
729729
inventoryTracker('apples', $req, 'www.inventory-awesome.io');
730730
```
731731
**[⬆ back to top](#table-of-contents)**

0 commit comments

Comments
 (0)