Skip to content

Commit 4be1dee

Browse files
author
Tomáš Votruba
authored
Merge pull request #53 from emnsen/master
Fix variable spelling and syntax
2 parents 6922264 + 820a6a1 commit 4be1dee

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -833,8 +833,8 @@ function newRequestModule($url) {
833833
// ...
834834
}
835835

836-
$req = new newRequestModule($requestUrl);
837-
inventoryTracker('apples', $req, 'www.inventory-awesome.io');
836+
$request = newRequestModule($requestUrl);
837+
inventoryTracker('apples', $request, 'www.inventory-awesome.io');
838838

839839
```
840840

@@ -844,8 +844,8 @@ function requestModule($url) {
844844
// ...
845845
}
846846

847-
$req = new requestModule($requestUrl);
848-
inventoryTracker('apples', $req, 'www.inventory-awesome.io');
847+
$request = requestModule($requestUrl);
848+
inventoryTracker('apples', $request, 'www.inventory-awesome.io');
849849
```
850850
**[⬆ back to top](#table-of-contents)**
851851

@@ -1215,8 +1215,8 @@ abstract class Shape {
12151215
}
12161216

12171217
class Rectangle extends Shape {
1218-
public function __construct {
1219-
parent::__construct();
1218+
public function __construct() {
1219+
parent::__construct();
12201220
$this->width = 0;
12211221
$this->height = 0;
12221222
}
@@ -1235,7 +1235,7 @@ class Rectangle extends Shape {
12351235
}
12361236

12371237
class Square extends Shape {
1238-
public function __construct {
1238+
public function __construct() {
12391239
parent::__construct();
12401240
$this->length = 0;
12411241
}

0 commit comments

Comments
 (0)