diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-03-25 21:53:04 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-03-25 21:53:04 +0100 |
commit | 23eb0462e56d72ed24b7b02483069844bd2919b8 (patch) | |
tree | 0d1917534ef451fa259eb89ddabdf9449e83d7c3 /apps/dav | |
parent | 3cf321fdfc4235a87015a9af2f59c63220016c65 (diff) | |
download | nextcloud-server-23eb0462e56d72ed24b7b02483069844bd2919b8.tar.gz nextcloud-server-23eb0462e56d72ed24b7b02483069844bd2919b8.zip |
Use lowercase true, false and null constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php | 2 | ||||
-rw-r--r-- | apps/dav/lib/Connector/Sabre/FilesPlugin.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php b/apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php index e0aa19c50b3..de414e3aa2f 100644 --- a/apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php +++ b/apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php @@ -53,7 +53,7 @@ class AnonymousOptionsPlugin extends ServerPlugin { * @return bool */ public function isRequestInRoot($path) { - return $path === '' || (is_string($path) && strpos($path, '/') === FALSE); + return $path === '' || (is_string($path) && strpos($path, '/') === false); } /** diff --git a/apps/dav/lib/Connector/Sabre/FilesPlugin.php b/apps/dav/lib/Connector/Sabre/FilesPlugin.php index 459d2ffa324..498058f7c03 100644 --- a/apps/dav/lib/Connector/Sabre/FilesPlugin.php +++ b/apps/dav/lib/Connector/Sabre/FilesPlugin.php @@ -397,7 +397,7 @@ class FilesPlugin extends ServerPlugin { $propFind->handle(self::CHECKSUMS_PROPERTYNAME, function() use ($node) { $checksum = $node->getChecksum(); - if ($checksum === NULL || $checksum === '') { + if ($checksum === null || $checksum === '') { return null; } |