File tree Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 2424
2525namespace  OCA \Files_Sharing ;
2626
27- interface  ISharedStorage {
27+ use  OCP \Files \Storage \IStorage ;
28+ 
29+ interface  ISharedStorage extends  IStorage {
2830}
Original file line number Diff line number Diff line change 3232
3333namespace  OCP \Files ;
3434
35+ use  OCP \Files \Storage \IStorage ;
36+ 
3537/** 
3638 * Interface IHomeStorage 
3739 * 
3840 * @since 7.0.0 
3941 */ 
40- interface  IHomeStorage {
42+ interface  IHomeStorage extends  IStorage  {
4143}
Original file line number Diff line number Diff line change 2929 * 
3030 * @since 16.0.0 
3131 */ 
32- interface  IDisableEncryptionStorage {
32+ interface  IDisableEncryptionStorage extends  IStorage  {
3333}
Original file line number Diff line number Diff line change @@ -362,9 +362,12 @@ public function isLocal();
362362	/** 
363363	 * Check if the storage is an instance of $class or is a wrapper for a storage that is an instance of $class 
364364	 * 
365+ 	 * @template T of IStorage 
365366	 * @param string $class 
367+ 	 * @psalm-param class-string<T> $class 
366368	 * @return bool 
367369	 * @since 9.0.0 
370+ 	 * @psalm-assert-if-true T $this 
368371	 */ 
369372	public  function  instanceOfStorage ($ class
370373
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments