Removed unsued var
This commit is contained in:
parent
2bc0bef105
commit
d17954d4fb
|
@ -169,6 +169,7 @@ Improve PHP exeution time by using [fully-qualified function calls](https://veew
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
php-cs-fixer fix src/ --rules=native_function_invocation --allow-risky=yes
|
php-cs-fixer fix src/ --rules=native_function_invocation --allow-risky=yes
|
||||||
|
php-cs-fixer fix src/ --rules=no_unused_imports --dry-run
|
||||||
```
|
```
|
||||||
|
|
||||||
## Tutorials
|
## Tutorials
|
||||||
|
|
|
@ -26,7 +26,7 @@ $types = [
|
||||||
'flags' => include __DIR__.'/../../config/avatars/flags.php',
|
'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);
|
$code = \strtolower($code);
|
||||||
$type = \strtolower($type);
|
$type = \strtolower($type);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue