Skip to content
Snippets Groups Projects
Verified Commit 0dbe359a authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

refactor: minor, add return type

parent dba7a0e1
Branches
Tags
2 merge requests!3improve into wp-hook and some additional unfinished things,!21.x
...@@ -34,7 +34,7 @@ class FilesystemDefinitions implements BindingDefinitions { ...@@ -34,7 +34,7 @@ class FilesystemDefinitions implements BindingDefinitions {
} }
} }
private function load_from_file( Path $filename ) { private function load_from_file( Path $filename ): iterable {
if ( ! $filename->is_file() ) { if ( ! $filename->is_file() ) {
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment