diff options
Diffstat (limited to 'crates/shirabe-php-shim/src/stream.rs')
| -rw-r--r-- | crates/shirabe-php-shim/src/stream.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/shirabe-php-shim/src/stream.rs b/crates/shirabe-php-shim/src/stream.rs index e34849ed..50f984b5 100644 --- a/crates/shirabe-php-shim/src/stream.rs +++ b/crates/shirabe-php-shim/src/stream.rs @@ -13,10 +13,10 @@ pub fn stream_get_contents(stream: &PhpResource) -> Option<String> { stream_read_remaining(stream, None) } -pub fn stream_resolve_include_path(filename: &str) -> Option<String> { +pub fn stream_resolve_include_path(filename: impl AsRef<std::path::Path>) -> Option<String> { // TODO(phase-c): resolution searches the `include_path` ini setting, which the shim does not // model; checking only the current directory would silently miss configured include paths. - let _ = filename; + let _ = filename.as_ref(); todo!() } |
