File tree 1 file changed +6
-2
lines changed
Classes/Domain/Repository
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,9 @@ function (FormData $formDataSample) {
191
191
return $ this ->siteAccesibilityService ->isSiteAccessible ($ formDataSample ->getSiteName ()) ? $ formDataSample ->getSiteName () : null ;
192
192
},
193
193
$ this ->findAllUnique ('form.siteName ' )
194
- ));
194
+ ), function (?string $ value ) {
195
+ return $ value !== null ;
196
+ });
195
197
}
196
198
197
199
protected function initializeAccessibleDimensions (): array
@@ -201,7 +203,9 @@ function (FormData $formDataSample) {
201
203
return $ this ->dimensionAccesibilityService ->isDimensionCombinationAccessible ($ formDataSample ->getContentDimensions ()) ? $ formDataSample ->getDimensionsHash () : null ;
202
204
},
203
205
$ this ->findAllUnique ('form.dimensionsHash ' )
204
- ));
206
+ ), function (?string $ value ) {
207
+ return $ value !== null ;
208
+ });
205
209
}
206
210
207
211
protected function findAllUnique (string $ groupField ): array
You can’t perform that action at this time.
0 commit comments