1
0
mirror of https://github.com/jupeter/clean-code-php.git synced 2025-09-27 22:49:01 +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
function emailClients($clients) {
$activeClients = activeClients($clients);
array_walk($activeClients, 'email');
array_walk($activeClients, 'activeClients');
}
function activeClients($clients) {