boptom
boptom

An

@boptom

Dev

11 Posts 53 Views

  • No matching results...
  • Searching...

/ 255

In response to @boptom

One of the Laravel issues I've found is with

->withPivot

in many-to-many relationships. There doesn't seem to be a type safe way of accessing `->pivot`

phpstan shows the following error
Access to an undefined property App\Models\Comment::$pivot.

121

In response to @JaiveerChavda

I read through the docs but I kept running into issues with Laravel specific magic stuff, especially on higher levels

I’ll be combing through the Pinkary code. I bet that’ll be the better “docs”.

1

158