Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit b341660

Browse files
committed
Fix method signature for PHP7
1 parent 66b6b4d commit b341660

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

core/src/core/classes/class.AJXP_SchemeTranslatorWrapper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ class AJXP_SchemeTranslatorWrapper extends AJXP_MetaStreamWrapper implements Ajx
4444
/*
4545
* Initialise the path for a file
4646
*/
47-
public static function applyInitPathHook($path) {
48-
// Not defined
47+
public static function applyInitPathHook($path, $context = 'core') {
48+
//Do nothing
4949
}
5050

5151
/**

core/src/plugins/core.access/src/Stream/AuthWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
class AuthWrapper extends AJXP_SchemeTranslatorWrapper
1919
{
20-
public static function applyInitPathHook($url) {
20+
public static function applyInitPathHook($url, $context = 'core') {
2121
$urlParts = AJXP_Utils::safeParseUrl($url);
2222

2323
$repository = ConfService::getRepositoryById($urlParts["host"]);

core/src/plugins/core.access/src/Stream/PathWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class PathWrapper extends AJXP_SchemeTranslatorWrapper
2525
*/
2626
protected static $localParams = [];
2727

28-
public static function applyInitPathHook($url)
28+
public static function applyInitPathHook($url, $context = 'core')
2929
{
3030
$params = [];
3131
$parts = AJXP_Utils::safeParseUrl($url);

0 commit comments

Comments
 (0)