Skip to content

Commit

Permalink
street update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sofiosko committed May 25, 2021
1 parent fcdbb50 commit 7b2b72c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Utils/Subjects/Subject.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ class Subject
$companyName,
$isCompany = false,
$street,
$streetHn,
$streetOn,
$streetOnly,
$zip,
$city;

Expand All @@ -24,6 +27,9 @@ public static function createFromResponse(\stdClass $info){
$subject->street = $info->__street;
$subject->city = $info->__city;
$subject->zip = $info->__zip;
$subject->streetHn = $info->__street_hn ?? null;
$subject->streetOn = $info->__street_on ?? null;
$subject->streetOnly = $info->__street_only ?? null;
return $subject;
}
}

0 comments on commit 7b2b72c

Please sign in to comment.