Skip to content

Static Code Analysis #452

@mattiamancina

Description

@mattiamancina

I was wondering how people are currently handling static code analysis with this package. I'm currently trying to remove larastan issues from our project, but I'm having some issues with the following code:

$model->translate('de')->name

Access to an undefined property Illuminate\Database\Eloquent\Model::$name

Am I missing something or is this not supported yet?

Was there already a discussion about using psalm templates? https://psalm.dev/docs/annotating_code/templated_annotations/#template-covariance

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions