| 1 | <?php  | 
            ||
| 3 | class StubDMSDocumentCheckoutPageExtension extends Extension implements TestOnly  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 4 | { | 
            ||
| 5 | /**  | 
            ||
| 6 |      * For method {@link DMSDocumentCartCheckoutPage_Controller::DMSDocumentRequestForm} | 
            ||
| 7 | *  | 
            ||
| 8 | * @param Form $form  | 
            ||
| 9 | */  | 
            ||
| 10 | public function updateDMSDocumentRequestForm(Form $form)  | 
            ||
| 14 | |||
| 15 | /**  | 
            ||
| 16 |      * For method {@link DMSDocumentCartCheckoutPage_Controller::DMSDocumentRequestForm} | 
            ||
| 17 | *  | 
            ||
| 18 | * @param Email $email  | 
            ||
| 19 | */  | 
            ||
| 20 | public function updateSend(Email $email)  | 
            ||
| 24 | }  | 
            ||
| 25 | 
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.