Skip to content

Commit

Permalink
Fix method name
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev committed Jan 3, 2024
1 parent 7f992e9 commit ef9abdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/PowerGridComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ private function getTheme(string $key = null): array
*/
public function fillData(): BaseCollection|LengthAwarePaginator|\Illuminate\Contracts\Pagination\LengthAwarePaginator|Paginator|MorphToMany
{
$this->processDataSourceInstance = ProcessDataSource::make($this);
$this->processDataSourceInstance = ProcessDataSource::fillData($this);

return $this->processDataSourceInstance->get();
}
Expand Down
2 changes: 1 addition & 1 deletion src/ProcessDataSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function __construct(
) {
}

public static function make(PowerGridComponent $powerGridComponent): ProcessDataSource
public static function fillData(PowerGridComponent $powerGridComponent): ProcessDataSource
{
return new self($powerGridComponent);
}
Expand Down

0 comments on commit ef9abdc

Please sign in to comment.