Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_jobs
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
sg_jobs
Commits
c6d44867
Verified
Commit
c6d44867
authored
1 year ago
by
Kevin Ditscheid
Browse files
Options
Downloads
Patches
Plain Diff
[BUGFIX] add ObjectStorage initialization to experieneLevel
parent
e4ee9bc0
No related branches found
No related tags found
1 merge request
!48
[TASK] Require TYPO3 12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Classes/Domain/Model/Job.php
+13
-9
13 additions, 9 deletions
Classes/Domain/Model/Job.php
with
13 additions
and
9 deletions
Classes/Domain/Model/Job.php
+
13
−
9
View file @
c6d44867
...
...
@@ -47,8 +47,8 @@ class Job extends AbstractEntity {
protected
$jobId
=
''
;
/**
* @var ObjectStorage<FileReference>
*/
* @var ObjectStorage<FileReference>
*/
#[Lazy]
protected
$attachment
;
...
...
@@ -104,20 +104,20 @@ class Job extends AbstractEntity {
protected
$sorting
;
/**
* @var ObjectStorage<Company>
*/
* @var ObjectStorage<Company>
*/
#[Lazy]
protected
$company
;
/**
* @var ObjectStorage<Job>
*/
* @var ObjectStorage<Job>
*/
#[Lazy]
protected
$relatedJobs
;
/**
* @var ObjectStorage<ExperienceLevel>
*/
* @var ObjectStorage<ExperienceLevel>
*/
#[Lazy]
protected
$experienceLevel
;
...
...
@@ -188,9 +188,14 @@ class Job extends AbstractEntity {
* Job constructor.
*/
public
function
__construct
()
{
$this
->
initializeObject
();
}
public
function
initializeObject
()
{
$this
->
attachment
=
new
ObjectStorage
();
$this
->
company
=
new
ObjectStorage
();
$this
->
relatedJobs
=
new
ObjectStorage
();
$this
->
experienceLevel
=
new
ObjectStorage
();
}
/**
...
...
@@ -598,7 +603,6 @@ class Job extends AbstractEntity {
$this
->
experienceLevel
=
$experienceLevel
;
}
/**
* @param ExperienceLevel $experienceLevel
* @return void
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment