From f652aa43804084ad63b78deca1f66f3e4ef2695b Mon Sep 17 00:00:00 2001 From: eldadfux Date: Sat, 17 Aug 2019 11:19:22 +0300 Subject: [PATCH] Remove unused vars --- app/controllers/locale.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/locale.php b/app/controllers/locale.php index 9cf4969790..a0d20ef30c 100644 --- a/app/controllers/locale.php +++ b/app/controllers/locale.php @@ -89,7 +89,7 @@ $utopia->get('/v1/locale/countries/eu') ->label('sdk.method', 'getCountriesEU') ->label('sdk.description', 'List of all countries that are currently members of the EU. You can use the locale header to get the data in supported language. UK brexit date is currently set to 2019-10-31 and will be updated if and when needed.') ->action( - function() use ($response, $request) + function() use ($response) { $countries = Locale::getText('countries'); /* @var $countries array */ $eu = include __DIR__ . '/../config/eu.php'; @@ -114,7 +114,7 @@ $utopia->get('/v1/locale/countries/phones') ->label('sdk.method', 'getCountriesPhones') ->label('sdk.description', 'List of all countries phone codes. You can use the locale header to get the data in supported language.') ->action( - function() use ($response, $request) + function() use ($response) { $list = include __DIR__ . '/../config/phones.php'; /* @var $list array */