mirror of
https://github.com/nextcloud/photos.git
synced 2025-07-20 18:20:07 +00:00
chore: composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
@ -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 {
|
||||
|
@ -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']);
|
||||
|
Reference in New Issue
Block a user