| 1 | <?php |
||
| 3 | class StubRelatedDocumentExtension extends DataExtension implements TestOnly |
||
|
|
|||
| 4 | { |
||
| 5 | /** |
||
| 6 | * Push a fixed array entry into the datalist for extensibility testing |
||
| 7 | * |
||
| 8 | * @param ArrayList $relatedDocuments |
||
| 9 | * @return ArrayList |
||
| 10 | */ |
||
| 11 | public function updateRelatedDocuments(ArrayList $relatedDocuments) |
||
| 18 | } |
||
| 19 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.