@@ -157,8 +157,8 @@ private function process(Action $action, EnvironmentInterface $environment)
157157 * @SuppressWarnings(PHPMD.LongVariable)
158158 */
159159 protected function handleInvalidPropertyValueBag (
160- PropertyValueBagInterface $ propertyValueBag = null ,
161- ModelInterface $ model = null ,
160+ ? PropertyValueBagInterface $ propertyValueBag ,
161+ ? ModelInterface $ model ,
162162 EnvironmentInterface $ environment
163163 ) {
164164 // @codingStandardsIgnoreStart
@@ -208,17 +208,17 @@ protected function handleInvalidPropertyValueBag(
208208 /**
209209 * Handle override of model collection.
210210 *
211- * @param Action $action The action.
212- * @param \ArrayObject $renderInformation The render information.
213- * @param PropertyValueBagInterface $propertyValues The property values.
214- * @param EnvironmentInterface $environment The environment.
211+ * @param Action $action The action.
212+ * @param \ArrayObject $renderInformation The render information.
213+ * @param PropertyValueBagInterface|null $propertyValues The property values.
214+ * @param EnvironmentInterface $environment The environment.
215215 *
216216 * @return void
217217 */
218218 private function handleOverrideCollection (
219219 Action $ action ,
220220 \ArrayObject $ renderInformation ,
221- PropertyValueBagInterface $ propertyValues = null ,
221+ ? PropertyValueBagInterface $ propertyValues ,
222222 EnvironmentInterface $ environment
223223 ) {
224224 if (!$ propertyValues ) {
0 commit comments