Appearance
ArrayEdits
php
final readonly class Zairakai\LaravelDevTools\Services\Spread\ArrayEdits implements SpreadEditsThe arrays to write on several lines: every array that is not empty, written with brackets, that is not a destructuring.
Source: src/Services/Spread/ArrayEdits.php
Methods
edits()
php
public function edits(array $nodes, array $lines, string $source): arrayReturns list<array{start: int, end: int, text: string}>