Skip to content

Commit

Permalink
Fixes bcit-ci#6175 fix $this->uri->ruri_string() generates in PHP 8.1
Browse files Browse the repository at this point in the history
* it coplements prevous commit and related to
  commit ad1a307
  is not the proper way but compatible with
  bcit-ci/CodeIgniter#6117
  and solves
  bcit-ci/CodeIgniter#6120
  • Loading branch information
mckaygerhard committed Feb 6, 2024
1 parent 37442e0 commit bfef7d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appsys/core/URI.php
Expand Up @@ -645,7 +645,7 @@ public function uri_string()
*/
public function ruri_string()
{
return ltrim(load_class('Router', 'core')->directory, '/').implode('/', $this->rsegments);
return ltrim((string) load_class('Router', 'core')->directory, '/').implode('/', $this->rsegments);
}

}

0 comments on commit bfef7d2

Please sign in to comment.