mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Removed unsued var
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user