1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00

Removed unsued var

This commit is contained in:
Eldad Fux 2020-06-24 23:38:18 +03:00
parent 2bc0bef105
commit d17954d4fb
2 changed files with 2 additions and 1 deletions

View file

@ -169,6 +169,7 @@ Improve PHP exeution time by using [fully-qualified function calls](https://veew
```bash
php-cs-fixer fix src/ --rules=native_function_invocation --allow-risky=yes
php-cs-fixer fix src/ --rules=no_unused_imports --dry-run
```
## Tutorials

View file

@ -26,7 +26,7 @@ $types = [
'flags' => include __DIR__.'/../../config/avatars/flags.php',
];
$avatarCallback = function ($type, $code, $width, $height, $quality) use ($types, $response, $request) {
$avatarCallback = function ($type, $code, $width, $height, $quality) use ($types, $response) {
$code = \strtolower($code);
$type = \strtolower($type);