Skip to content

Commit

Permalink
Avoided code checker warning for string type in explode function
Browse files Browse the repository at this point in the history
  • Loading branch information
Jefferson49 committed Dec 26, 2024
1 parent 91d1214 commit e775162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RepositoryHierarchy.php
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,7 @@ private function checkCustomViewAvailability() : void {

foreach($this->custom_view_list as $custom_view) {

[[$namespace], $view_name] = explode(View::NAMESPACE_SEPARATOR, $custom_view, 2);
[[$namespace], $view_name] = explode(View::NAMESPACE_SEPARATOR, (string) $custom_view, 2);

foreach($custom_modules->forget($this->activeModuleName()) as $custom_module) {

Expand Down

0 comments on commit e775162

Please sign in to comment.