@@ -110,8 +110,8 @@ public function getSuggestedIds(): array
110110 */
111111 private function processEntities (
112112 array $ settings ,
113- string $ nodeId = null ,
114- string $ parentId = null
113+ ? string $ nodeId = null ,
114+ ? string $ parentId = null
115115 ): void {
116116 foreach ($ settings as $ entityName => $ entitySettings ) {
117117 $ entityConfiguration = $ this ->provideEntityConfiguration ($ entityName );
@@ -135,8 +135,8 @@ private function processEntities(
135135 private function processEntityItem (
136136 EntityConfiguration $ entityConfiguration ,
137137 array $ itemSettings ,
138- string $ nodeId = null ,
139- string $ parentId = null
138+ ? string $ nodeId = null ,
139+ ? string $ parentId = null
140140 ): void {
141141 $ values = $ this ->processEntityValues (
142142 $ entityConfiguration ,
@@ -199,7 +199,7 @@ private function processLanguageVariantItem(
199199 EntityConfiguration $ entityConfiguration ,
200200 array $ itemSettings ,
201201 array $ ancestorIds ,
202- string $ nodeId = null
202+ ? string $ nodeId = null
203203 ): void {
204204 $ values = $ this ->processEntityValues (
205205 $ entityConfiguration ,
@@ -240,7 +240,7 @@ private function processVersionVariantItem(
240240 EntityConfiguration $ entityConfiguration ,
241241 array $ itemSettings ,
242242 string $ ancestorId ,
243- string $ nodeId = null
243+ ? string $ nodeId = null
244244 ): void {
245245 if (isset ($ itemSettings ['self ' ])) {
246246 throw new \LogicException (
@@ -284,8 +284,8 @@ private function processVersionVariantItem(
284284 private function processEntityValues (
285285 EntityConfiguration $ entityConfiguration ,
286286 array $ itemSettings ,
287- string $ nodeId = null ,
288- string $ parentId = null
287+ ? string $ nodeId = null ,
288+ ? string $ parentId = null
289289 ): array {
290290 if (isset ($ itemSettings ['self ' ]) && isset ($ itemSettings ['version ' ])) {
291291 throw new \LogicException (
0 commit comments