Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Monday Factory
Database model generator
Commits
a6d52877
Commit
a6d52877
authored
5 years ago
by
Petr Besir Horáček
Browse files
Options
Download
Patches
Plain Diff
Fixed visibility of Collection property in generator
parent
80713fb0
master
0.0.1
No related merge requests found
Pipeline
#9512
failed with stage
in 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Generator/CollectionGenerator.php
+1
-1
src/Generator/CollectionGenerator.php
with
1 addition
and
1 deletion
+1
-1
src/Generator/CollectionGenerator.php
+
1
−
1
View file @
a6d52877
...
...
@@ -47,7 +47,7 @@ class CollectionGenerator
$idFieldSerializer
=
preg_replace
(
"/(\(.*\))/m"
,
''
,
$idField
[
'toString'
]);
$idFieldSerializer
=
preg_replace
(
"/(->)+/m"
,
''
,
$idFieldSerializer
);
$idFieldSerializerProperty
->
setValue
(
$idFieldSerializer
);
$idFieldSerializerProperty
->
setValue
(
$idFieldSerializer
)
->
setProtected
()
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets