diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-03-25 22:39:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-25 22:39:08 +0100 |
commit | e1a11b9e777986a52d60c8c02faa37b511e48abf (patch) | |
tree | 0d1917534ef451fa259eb89ddabdf9449e83d7c3 /apps | |
parent | 3cf321fdfc4235a87015a9af2f59c63220016c65 (diff) | |
parent | 23eb0462e56d72ed24b7b02483069844bd2919b8 (diff) | |
download | nextcloud-server-e1a11b9e777986a52d60c8c02faa37b511e48abf.tar.gz nextcloud-server-e1a11b9e777986a52d60c8c02faa37b511e48abf.zip |
Merge pull request #20169 from nextcloud/techdebt/lower-case-true-false-null
Use lowercase true, false and null constants
Diffstat (limited to 'apps')
-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; } |