chore: composer run cs:fix

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet
2025-06-24 10:03:28 +02:00
parent 6eb67f2917
commit 88c8ef2a32
2 changed files with 6 additions and 6 deletions

View File

@ -152,8 +152,8 @@ class AlbumsController extends Controller {
* 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 {

View File

@ -87,14 +87,14 @@ class ExifMetadataProvider implements IEventListener {
}
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']);