-
-
Notifications
You must be signed in to change notification settings - Fork 363
Enable user uuid set #3901
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable user uuid set #3901
Changes from all commits
3323cbd
16daf10
b564bb5
77d450e
dc57899
e941a44
b9a6a67
9d87699
f30f002
73ccd2b
02855c7
9e4d37e
801a6d9
f9fbfd1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -355,7 +355,7 @@ protected function setWidth(string $key, ?string $value): void | |
| */ | ||
| protected static function valueToLines(?string $value): array | ||
| { | ||
| return explode("\n", $value); | ||
| return explode("\n", $value ?? ''); | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove deprecation warning from php8.5 |
||
| } | ||
|
|
||
| protected static function mb_str_pad( | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -386,7 +386,7 @@ protected function setAlbumThumbAspectRatioAttribute(?AspectRatioType $aspect_ra | |
| */ | ||
| protected function getAlbumTimelineAttribute(): ?TimelineAlbumGranularity | ||
| { | ||
| return TimelineAlbumGranularity::tryFrom($this->attributes['album_timeline']); | ||
| return TimelineAlbumGranularity::tryFrom($this->attributes['album_timeline'] ?? ''); | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove deprecation warning from php8.5 |
||
| } | ||
|
|
||
| /** | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -308,7 +308,7 @@ protected function setPhotoSortingAttribute(?PhotoSortingCriterion $sorting): vo | |
| */ | ||
| protected function getPhotoLayoutAttribute(): ?PhotoLayoutType | ||
| { | ||
| return PhotoLayoutType::tryFrom($this->attributes['photo_layout']); | ||
| return PhotoLayoutType::tryFrom($this->attributes['photo_layout'] ?? ''); | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove deprecation warning from php8.5 |
||
| } | ||
|
|
||
| /** | ||
|
|
@@ -324,7 +324,7 @@ protected function setPhotoLayoutAttribute(?PhotoLayoutType $aspect_ratio): void | |
| */ | ||
| protected function getPhotoTimelineAttribute(): ?TimelinePhotoGranularity | ||
| { | ||
| return TimelinePhotoGranularity::tryFrom($this->attributes['photo_timeline']); | ||
| return TimelinePhotoGranularity::tryFrom($this->attributes['photo_timeline'] ?? ''); | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove deprecation warning from php8.5 |
||
| } | ||
|
|
||
| /** | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.