File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -16,21 +16,6 @@ function hyde(): HydeKernel
1616 }
1717 }
1818
19- if (! function_exists ('unslash ' )) {
20- /**
21- * Remove trailing slashes from the start and end of a string.
22- *
23- * @deprecated This function will be replaced by {@see \Hyde\unslash()} in v2.0
24- *
25- * @codeCoverageIgnore This function is deprecated and will be removed in a future release.
26- */
27- #[Deprecated(reason: 'Replaced by the \Hyde\unslash() function ' , replacement: '\Hyde\unslash(%parametersList%) ' , since: '1.7.0 ' )]
28- function unslash (string $ string ): string
29- {
30- return \Hyde \unslash ($ string );
31- }
32- }
33-
3419 if (defined ('HYDE_COMPATIBILITY_MODE ' ) && HYDE_COMPATIBILITY_MODE === true ) {
3520 // Don't declare these functions when running in compatibility mode.
3621 } else {
You can’t perform that action at this time.
0 commit comments