Move local `$controller` variable into a more appropriate "scope" in RequestHandler...
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 20 May 2022 12:30:56 +0000 (14:30 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 20 May 2022 12:30:56 +0000 (14:30 +0200)
commit0899048329e3629ee5467fa4c5540386a35a471c
tree16c651fc7eb4873e809546fd101591e7f2ea5f75
parentdeca23e1caf47e783a99722b7d2ce941bd829bc6
Move local `$controller` variable into a more appropriate "scope" in RequestHandler::buildRequest()

The variable is only referenced in the `else`, move it there to make the data
flow clearer.
wcfsetup/install/files/lib/system/request/RequestHandler.class.php