diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-10 16:54:27 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-10 16:54:27 +0200 |
commit | 28f8eb5dba60a75f7e22debbdc26f1d3164deb18 (patch) | |
tree | 5bb8a104ec6b5af821b81cf392c69167deca4c0a /lib/public/Files/FileInfo.php | |
parent | 1584c9ae9c23d2a7915750ef9203cba0bcebf766 (diff) | |
download | nextcloud-server-28f8eb5dba60a75f7e22debbdc26f1d3164deb18.tar.gz nextcloud-server-28f8eb5dba60a75f7e22debbdc26f1d3164deb18.zip |
Add visibility to all constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public/Files/FileInfo.php')
-rw-r--r-- | lib/public/Files/FileInfo.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/public/Files/FileInfo.php b/lib/public/Files/FileInfo.php index f7a36e0542d..f8b0623c3e4 100644 --- a/lib/public/Files/FileInfo.php +++ b/lib/public/Files/FileInfo.php @@ -38,38 +38,38 @@ interface FileInfo { /** * @since 7.0.0 */ - const TYPE_FILE = 'file'; + public const TYPE_FILE = 'file'; /** * @since 7.0.0 */ - const TYPE_FOLDER = 'dir'; + public const TYPE_FOLDER = 'dir'; /** * @const \OCP\Files\FileInfo::SPACE_NOT_COMPUTED Return value for a not computed space value * @since 8.0.0 */ - const SPACE_NOT_COMPUTED = -1; + public const SPACE_NOT_COMPUTED = -1; /** * @const \OCP\Files\FileInfo::SPACE_UNKNOWN Return value for unknown space value * @since 8.0.0 */ - const SPACE_UNKNOWN = -2; + public const SPACE_UNKNOWN = -2; /** * @const \OCP\Files\FileInfo::SPACE_UNLIMITED Return value for unlimited space * @since 8.0.0 */ - const SPACE_UNLIMITED = -3; + public const SPACE_UNLIMITED = -3; /** * @since 9.1.0 */ - const MIMETYPE_FOLDER = 'httpd/unix-directory'; + public const MIMETYPE_FOLDER = 'httpd/unix-directory'; /** * @const \OCP\Files\FileInfo::BLACKLIST_FILES_REGEX Return regular expression to test filenames against (blacklisting) * @since 12.0.0 */ - const BLACKLIST_FILES_REGEX = '\.(part|filepart)$'; + public const BLACKLIST_FILES_REGEX = '\.(part|filepart)$'; /** * Get the Etag of the file or folder |