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

feat: convert decodes / encodes to casts #1192

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

ScuffedNewt
Copy link
Contributor

to align existing models with more dev standards

@itinerare itinerare added the needs review Pull requests that are pending community review label Jan 12, 2025
@itinerare
Copy link
Collaborator

Love this, will give it a thorough look later!

@@ -332,7 +324,7 @@ public function getUrlAttribute() {
* @return string
*/
public function getVoteDataAttribute() {
return collect(json_decode($this->attributes['vote_data'], true));
Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh, this needs latest develop to be merged in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review Pull requests that are pending community review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants