Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support symfony 7 #11

Merged
merged 2 commits into from
Sep 30, 2024
Merged

Support symfony 7 #11

merged 2 commits into from
Sep 30, 2024

Conversation

Wiktor6
Copy link
Contributor

@Wiktor6 Wiktor6 commented Sep 28, 2024

No description provided.

@Wiktor6 Wiktor6 force-pushed the support-symfony-7 branch 2 times, most recently from 0ef6660 to 4605650 Compare September 28, 2024 20:11
@@ -29,7 +27,7 @@ public static function fromArray(array $arrayResponse): self
return new self(
new OfficeCollection(
array_map(
fn ($officeData) => Office::fromArray($officeData),
fn($officeData) => Office::fromArray($officeData),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

static?

@olekans olekans self-requested a review September 30, 2024 09:07
Comment on lines 42 to 48
if ($isAPS) {
$this->officeType = OfficeType::Aps;
} elseif ($isMPS) {
$this->officeType = OfficeType::Mps;
} else {
$this->officeType = OfficeType::Office;
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Można przerobić na match #whatever

@Wiktor6 Wiktor6 merged commit 33a17fe into master Sep 30, 2024
3 checks passed
@Wiktor6 Wiktor6 deleted the support-symfony-7 branch September 30, 2024 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants