refactor: remove unneeded method_exist() check

This commit is contained in:
kenjis 2023-10-17 09:31:35 +09:00
parent 4a636853e1
commit 3519bddd57
No known key found for this signature in database
GPG Key ID: BD254878922AF198

View File

@ -809,7 +809,7 @@ class CodeIgniter
*/
protected function determinePath()
{
return method_exists($this->request, 'getPath') ? $this->request->getPath() : $this->request->getUri()->getPath();
return $this->request->getPath();
}
/**