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
+1
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
+1 -1
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);