Skip to content
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

snakecasify app/Http/Requests #3135

Merged
merged 3 commits into from
Mar 23, 2025
Merged

snakecasify app/Http/Requests #3135

merged 3 commits into from
Mar 23, 2025

Conversation

ildyria
Copy link
Member

@ildyria ildyria commented Mar 22, 2025

No description provided.

@ildyria ildyria requested a review from a team as a code owner March 22, 2025 19:23
@ildyria ildyria added the Review: medium Medium review expected: not many files, some attention to details required. label Mar 22, 2025
Copy link

codecov bot commented Mar 22, 2025

Codecov Report

Attention: Patch coverage is 85.82090% with 19 lines in your changes missing coverage. Please review.

Project coverage is 90.43%. Comparing base (0bf796a) to head (5b9e10c).
Report is 4 commits behind head on master.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@@ -39,7 +39,7 @@ class AddSharingRequest extends BaseApiRequest implements HasAlbumIds, HasUserId
*/
public function authorize(): bool
{
return Gate::check(AlbumPolicy::CAN_SHARE_ID, [AbstractAlbum::class, $this->albumIds]);
return Gate::check(AlbumPolicy::CAN_SHARE_ID, [AbstractAlbum::class, $this->albumIds()]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$this->albumIds()

is this intended?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes. It is also provided in the trait :)

@ildyria ildyria merged commit c2c8ec0 into master Mar 23, 2025
54 checks passed
@ildyria ildyria deleted the rector-requests branch March 23, 2025 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Review: medium Medium review expected: not many files, some attention to details required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants