- Notifications
You must be signed in to change notification settings - Fork 507
/
Copy pathWrapper.patch
27 lines (26 loc) · 733 Bytes
/
Wrapper.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- Wrapper.php 2017-01-14 13:26:10.000000000 +0100
+++ Wrapper.php 2020-05-05 08:39:18.000000000 +0200
@@ -582,24 +582,3 @@
stream_wrapper_register('hoa', Wrapper::class);
}
-
-namespace
-{
-
-/**
- * Alias of `Hoa\Protocol::resolve` method.
- *
- * @param string $path Path to resolve.
- * @param bool $exists If `true`, try to find the first that exists,
- * else return the first solution.
- * @param bool $unfold Return all solutions instead of one.
- * @return mixed
- */
-if (!function_exists('resolve')) {
- function resolve($path, $exists = true, $unfold = false)
- {
- return Hoa\Protocol::getInstance()->resolve($path, $exists, $unfold);
- }
-}
-
-}