Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ parameters:
- identifier: encapsedStringPart.nonString
- identifier: varTag.nativeType
- identifier: property.unusedType
- identifier: offsetAccess.invalidOffset
- '#Cannot call method [a-zA-Z0-9\\_]#'
- '#Variable \$title might not be defined.#'
- '#^Method .*::fromLivewire\(\) has no return type specified\.#'
Expand Down
2 changes: 0 additions & 2 deletions src/DataSource/DataTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ public function transform(BaseCollection $collection): TransformResult
$loopInstance = app(ManageLoops::class);
$loopInstance->addLoop($collection);

$shouldProcessActionRules = method_exists($this->component, 'actionRules');

$transformedCollection = $collection->map(function ($row, $index) use ($loopInstance, &$actionsByRow) {
$rowObject = (object) $row;

Expand Down
4 changes: 0 additions & 4 deletions src/Providers/PowerGridServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use Illuminate\Support\Facades\{Blade, Event};
use Illuminate\Support\{ServiceProvider};
use Laravel\Pulse\Facades\Pulse;
use Livewire\Features\SupportLegacyModels\{EloquentCollectionSynth, EloquentModelSynth};
use Livewire\Features\SupportTesting\Testable;
use Livewire\Livewire;
use PowerComponents\LivewirePowerGrid\Commands\{CreateCommand, PublishCommand, UpdateCommand};
Expand Down Expand Up @@ -36,9 +35,6 @@ public function boot(): void
$this->publishConfigs();
$this->loadTranslationsFrom(__DIR__.'/../../resources/lang', $this->packageName);

Livewire::propertySynthesizer(EloquentModelSynth::class);
Livewire::propertySynthesizer(EloquentCollectionSynth::class);

Testable::mixin(new TestActions());
}

Expand Down