Skip to content

Commit

Permalink
fix: remove readonly from repository classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Katalam committed May 13, 2024
1 parent 99f6562 commit 9cdc806
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/Repositories/AddressRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
use Katalam\OnOfficeAdapter\Query\AddressBuilder;
use Katalam\OnOfficeAdapter\Services\OnOfficeService;

readonly class AddressRepository
class AddressRepository
{
public function __construct(
private OnOfficeService $onOfficeService,
private readonly OnOfficeService $onOfficeService,
) {
}

Expand Down
4 changes: 2 additions & 2 deletions src/Repositories/EstateRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
use Katalam\OnOfficeAdapter\Query\EstateFileBuilder;
use Katalam\OnOfficeAdapter\Services\OnOfficeService;

readonly class EstateRepository
class EstateRepository
{
public function __construct(
private OnOfficeService $onOfficeService,
private readonly OnOfficeService $onOfficeService,
) {
}

Expand Down
4 changes: 2 additions & 2 deletions src/Repositories/FieldRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
use Katalam\OnOfficeAdapter\Query\FieldBuilder;
use Katalam\OnOfficeAdapter\Services\OnOfficeService;

readonly class FieldRepository
class FieldRepository
{
public function __construct(
private OnOfficeService $onOfficeService,
private readonly OnOfficeService $onOfficeService,
) {
}

Expand Down
4 changes: 2 additions & 2 deletions src/Repositories/MarketplaceRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
use Katalam\OnOfficeAdapter\Query\MarketplaceBuilder;
use Katalam\OnOfficeAdapter\Services\OnOfficeService;

readonly class MarketplaceRepository
class MarketplaceRepository
{
public function __construct(
private OnOfficeService $onOfficeService,
private readonly OnOfficeService $onOfficeService,
) {
}

Expand Down
4 changes: 2 additions & 2 deletions src/Repositories/RelationRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
use Katalam\OnOfficeAdapter\Query\RelationBuilder;
use Katalam\OnOfficeAdapter\Services\OnOfficeService;

readonly class RelationRepository
class RelationRepository
{
public function __construct(
private OnOfficeService $onOfficeService,
private readonly OnOfficeService $onOfficeService,
) {
}

Expand Down
4 changes: 2 additions & 2 deletions src/Repositories/UserRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
use Katalam\OnOfficeAdapter\Query\UserBuilder;
use Katalam\OnOfficeAdapter\Services\OnOfficeService;

readonly class UserRepository
class UserRepository
{
public function __construct(
private OnOfficeService $onOfficeService,
private readonly OnOfficeService $onOfficeService,
) {
}

Expand Down

0 comments on commit 9cdc806

Please sign in to comment.