Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/Controller/AlbumsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ private function isShared(Node $node): bool {
* Adding the GroupFolderStorage class to the stubs would mean adding a lot of other classes.
* This is enough for the current usage.
*/
return $node->getStorage()->instanceOfStorage(ISharedStorage::class) ||
$node->getStorage()->instanceOfStorage(\OCA\GroupFolders\Mount\GroupFolderStorage::class);
return $node->getStorage()->instanceOfStorage(ISharedStorage::class)
|| $node->getStorage()->instanceOfStorage(\OCA\GroupFolders\Mount\GroupFolderStorage::class);
}

private function scanFolder(Folder $folder, int $depth, bool $shared): bool {
Expand Down
8 changes: 4 additions & 4 deletions lib/Listener/ExifMetadataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ public function handle(Event $event): void {
}

if (
$rawExifData &&
array_key_exists('GPS', $rawExifData)
$rawExifData
&& array_key_exists('GPS', $rawExifData)
) {
$gps = [];

if (
array_key_exists('GPSLatitude', $rawExifData['GPS']) && array_key_exists('GPSLatitudeRef', $rawExifData['GPS']) &&
array_key_exists('GPSLongitude', $rawExifData['GPS']) && array_key_exists('GPSLongitudeRef', $rawExifData['GPS'])
array_key_exists('GPSLatitude', $rawExifData['GPS']) && array_key_exists('GPSLatitudeRef', $rawExifData['GPS'])
&& array_key_exists('GPSLongitude', $rawExifData['GPS']) && array_key_exists('GPSLongitudeRef', $rawExifData['GPS'])
) {
$gps['latitude'] = $this->gpsDegreesToDecimal($rawExifData['GPS']['GPSLatitude'], $rawExifData['GPS']['GPSLatitudeRef']);
$gps['longitude'] = $this->gpsDegreesToDecimal($rawExifData['GPS']['GPSLongitude'], $rawExifData['GPS']['GPSLongitudeRef']);
Expand Down
2 changes: 1 addition & 1 deletion vendor-bin/cs-fixer/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}
},
"require-dev": {
"nextcloud/coding-standard": "^1.3",
"nextcloud/coding-standard": "^1.4",
"friendsofphp/php-cs-fixer": "*"
}
}
59 changes: 34 additions & 25 deletions vendor-bin/cs-fixer/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading