Skip to content

Commit 5e60751

Browse files
committed
Change visibility of MIME_TYPE_DIRECTORY class constant so it can be used from tests.
1 parent 59879ea commit 5e60751

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Server
3434
public const ERROR_PUT_NON_EXISTING_RESOURCE = self::ERROR_PATH_DOES_NOT_EXIST . '. Can not "PUT" non-existing resource. Use "POST" instead';
3535
public const ERROR_UNKNOWN_HTTP_METHOD = 'Unknown or unsupported HTTP METHOD "%s"';
3636

37-
private const MIME_TYPE_DIRECTORY = 'directory';
37+
public const MIME_TYPE_DIRECTORY = 'directory';
3838
private const QUERY_PARAM_HTTP_METHOD = 'http-method';
3939

4040
private const NOTIFICATION_TYPE_CREATE = "Create";

0 commit comments

Comments
 (0)