temphangle variable missing when using wp_filesystem copy

It appears to be a typo corrected by SergeyBiryukov in the Github Repo for 5.6 :

https://github.com/WordPress/WordPress/commit/a5edb2a8a15697440dff359fac53c27dd2067db3

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)