Code
- DMSDocumentTest::testDefaultDownloadBehabiourCMSFields()
- DMSDocumentTest::testRelatedDocuments()
- DMSDocumentTest::testGetRelatedDocumentsIsExtensible()
- DMSDocumentTest::testDocumentHasCmsFieldForManagingRelatedDocuments()
- DMSDocumentTest::testDocumentHasNoCMSFieldsForManagingRelatedDocumentsIfCantEdit()
- DMSDocumentTest::testGetRelatedDocumentsForAutocompleter()
- DMSDocumentTest::testGetPermissionDeniedReason()
- DMSDocumentTest::testGetRelatedPages()
- DMSDocumentTest::testGetTitleOrFilenameWithoutId()
- DMSDocumentTest::testGetStorageFolderThenDelete()
- DMSDocumentTest::testGetLink()
- DMSDocumentTest::testGetDescriptionWithLineBreak()
- DMSDocumentTest::getRelatedDocumentsGridField()
- DMSDocumentTest::testGetActionTaskHtml()
- DMSDocumentTest::testGetPermissionsActionPanel()
- DMSDocumentTest::testCanView()
- DMSDocumentTest::testCanEdit()
- DMSDocumentTest::testCanDelete()
- DMSDocumentTest::testCanCreate()
- DMSDocumentTest::logoutMember()
It seems like the type of the argument is not accepted by the function/method which you are calling.
In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug.
We suggest to add an explicit type cast like in the following example: