You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The abstract class AbstractUuidAwareObjectTypeConverter implements the PimBasedTypeConverterInterface.
The method setParentObjectAndProperty() should as defined in the interface return mixed data.
However, the method returns nothing which leads into the exception "Return value must be of type mixed, none returned"
Expected behaviour
Call of the method setParentObjectAndProperty() does not lead to an exception
To Reproduce
Call the method setParentObjectAndProperty() within your code.
Since a setter normally don't have to return anything, the return type should be changed to void, or if a return value is required, the method should return the correct value.
The text was updated successfully, but these errors were encountered:
The abstract class AbstractUuidAwareObjectTypeConverter implements the PimBasedTypeConverterInterface.
The method
setParentObjectAndProperty()
should as defined in the interface return mixed data.However, the method returns nothing which leads into the exception "Return value must be of type mixed, none returned"
Expected behaviour
Call of the method
setParentObjectAndProperty()
does not lead to an exceptionTo Reproduce
setParentObjectAndProperty()
within your code.Used versions:
TYPO3: v12.4.17
Extension version: 3e00a60 (@Dev-Master)
Additional context
The interface PimBasedTypeConverterInterface defines the method
setParentObjectAndProperty()
with the return type mixed.crossmedia_fourallportal/Classes/TypeConverter/PimBasedTypeConverterInterface.php
Line 18 in 3e00a60
The abstract class
AbstractUuidAwareObjectTypeConverter
which implements the function defines the correct return type but does not return anything.crossmedia_fourallportal/Classes/TypeConverter/AbstractUuidAwareObjectTypeConverter.php
Line 47 in 3e00a60
Since a setter normally don't have to return anything, the return type should be changed to void, or if a return value is required, the method should return the correct value.
The text was updated successfully, but these errors were encountered: