Skip to content

Commit 08c8cc7

Browse files
missing a second "e" at the end of employee
1 parent 465ca94 commit 08c8cc7

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

‎README.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1487,10 +1487,10 @@ function showManagerList($managers)
14871487
```php
14881488
function showList($employees)
14891489
{
1490-
   foreach ($employees as $employe) {
1491-
       $expectedSalary = $employe->calculateExpectedSalary();
1492-
       $experience = $employe->getExperience();
1493-
       $githubLink = $employe->getGithubLink();
1490+
   foreach ($employees as $employee) {
1491+
       $expectedSalary = $employee->calculateExpectedSalary();
1492+
       $experience = $employee->getExperience();
1493+
       $githubLink = $employee->getGithubLink();
14941494
$data = [
14951495
$expectedSalary,
14961496
$experience,
@@ -1509,11 +1509,11 @@ It is better to use a compact version of the code.
15091509
```php
15101510
function showList($employees)
15111511
{
1512-
   foreach ($employees as $employe) {
1512+
   foreach ($employees as $employee) {
15131513
render([
1514-
$employe->calculateExpectedSalary(),
1515-
$employe->getExperience(),
1516-
$employe->getGithubLink()
1514+
$employee->calculateExpectedSalary(),
1515+
$employee->getExperience(),
1516+
$employee->getGithubLink()
15171517
]);
15181518
}
15191519
}

0 commit comments

Comments
 (0)