diff options
| author | 2019-12-04 08:26:38 +0100 | |
|---|---|---|
| committer | 2019-12-04 08:26:38 +0100 | |
| commit | de2b323847e0a91119625e4f506f51ec9d43872f (patch) | |
| tree | bfd4b36651bd0171d33b484d8a28388a9e8af7eb /app/i18n/es/user.php | |
| parent | d0f1f9f141a58e090d210c221a7c1745378b96a3 (diff) | |
Refacto request class (#2373)
I split the code into more manageable chunks to make it more readable.
It's now easier to get a grasp on it. In the process, I tried to use
the yoda style notation to avoid unintentional variable assignement.
I also tried to exit early to avoid many "if" levels.
I have also added a better way to handle headers and a way to extract
languages from the request. It will be easier to choose which language
to use for i18n.
Diffstat (limited to 'app/i18n/es/user.php')
0 files changed, 0 insertions, 0 deletions
