1
0
mirror of https://github.com/jupeter/clean-code-php.git synced 2025-09-28 15:09:00 +02:00

Different function name used in the example.

This commit is contained in:
Amit Merchant
2017-09-06 12:15:49 +05:30
committed by GitHub
parent 52fa4b6daf
commit 9f1be532f7

View File

@@ -287,7 +287,7 @@ function emailClients($clients) {
```php ```php
function emailClients($clients) { function emailClients($clients) {
$activeClients = activeClients($clients); $activeClients = activeClients($clients);
array_walk($activeClients, 'email'); array_walk($activeClients, 'activeClients');
} }
function activeClients($clients) { function activeClients($clients) {