Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
nckrtl authored and github-actions[bot] committed Aug 29, 2024
1 parent 5bb4a8b commit 5137529
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
3 changes: 1 addition & 2 deletions src/DTO/Vacancy.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ public function __construct(
public ?int $publishedAtRefreshCount,
public ?string $youtubeId,
public bool $published,
) {
}
) {}

public static function fromResponse(Response $response, ?string $dtoType = null): self|VacancyForForStoreOrUpdate
{
Expand Down
10 changes: 4 additions & 6 deletions src/DeBanensite.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@

class DeBanensite
{
public function __construct(protected DeBanensiteConnector $connector)
{
}
public function __construct(protected DeBanensiteConnector $connector) {}

public function allPublishedVacancyIds(): Collection
{
$currentPage = 1;

$vacancies = $this->connector->send(new GetVacancies())->dto();
$vacancies = $this->connector->send(new GetVacancies)->dto();

$allOnlineVacancies = $vacancies['items']->map(function ($vacancy) {
return $vacancy->id;
Expand Down Expand Up @@ -84,7 +82,7 @@ public function getLocation(string $locationId)

public function getLocations()
{
return $this->connector->send(new GetCompanyBranches())->dto();
return $this->connector->send(new GetCompanyBranches)->dto();
}

public function getCompanyBranch(string $branchId, ?string $dtoType = null)
Expand All @@ -94,7 +92,7 @@ public function getCompanyBranch(string $branchId, ?string $dtoType = null)

public function getCompanyBranches()
{
return $this->connector->send(new GetCompanyBranches())->json();
return $this->connector->send(new GetCompanyBranches)->json();
}

public function getAddress(string $addressId, ?string $dtoType = null)
Expand Down

0 comments on commit 5137529

Please sign in to comment.