@@ -28,7 +28,6 @@ discard block  | 
                                                    ||
| 28 | 28 | |
| 29 | 29 | namespace OC;  | 
                                                        
| 30 | 30 | |
| 31 | -use OCP\Files\Folder;  | 
                                                        |
| 32 | 31 | use OCP\Files\NotFoundException;  | 
                                                        
| 33 | 32 | use OCP\Files\Storage\IStorage;  | 
                                                        
| 34 | 33 | use OCP\IAvatarManager;  | 
                                                        
@@ -36,7 +35,6 @@ discard block  | 
                                                    ||
| 36 | 35 | use OCP\IUserManager;  | 
                                                        
| 37 | 36 | use OCP\Files\IRootFolder;  | 
                                                        
| 38 | 37 | use OCP\IL10N;  | 
                                                        
| 39 | -use OCP\IUser;  | 
                                                        |
| 40 | 38 | |
| 41 | 39 | /**  | 
                                                        
| 42 | 40 | * This class implements methods to access Avatar functionality  | 
                                                        
@@ -368,7 +368,7 @@  | 
                                                    ||
| 368 | 368 | /**  | 
                                                        
| 369 | 369 | * Get the parent folder of the file or folder  | 
                                                        
| 370 | 370 | *  | 
                                                        
| 371 | - * @return Folder  | 
                                                        |
| 371 | + * @return null|Folder  | 
                                                        |
| 372 | 372 | * @since 6.0.0  | 
                                                        
| 373 | 373 | */  | 
                                                        
| 374 | 374 |  	public function getParent() { |