Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

lint/laravel/prefer-repository-method-call

Not in any set. Unsafe fix: it can change behaviour. Runs when laravel is installed. Planned: not in Pun yet. Enabling it is a config error.

What it does

Change array access on a config or cache repository to the matching method call, as the contracts do not extend ArrayAccess

Replaces

More lint/laravel rules · Edit this page

Last updated on

Was this page helpful?