File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 1111use  Symfony \Component \HttpFoundation \Request ;
1212use  Symfony \Component \HttpFoundation \Response ;
1313use  Symfony \Component \HttpKernel \DataCollector \LateDataCollectorInterface ;
14+ use  Throwable ;
1415use  Twig \Environment ;
1516use  Twig \Profiler \Profile ;
1617
@@ -36,7 +37,7 @@ private function getTemplatePathRegistry()
3637        return  $ this templatePathRegistry ;
3738    }
3839
39-     public  function  collect (Request $ requestResponse $ response\ Throwable $ exceptionnull )
40+     public  function  collect (Request $ requestResponse $ response? Throwable $ exceptionnull )
4041    {
4142        parent ::collect ($ request$ response$ exception
4243    }
Original file line number Diff line number Diff line change 1111
1212class  AssetPathResolver implements  AssetPathResolverInterface
1313{
14-     /** 
15-      * @var array 
16-      */ 
14+     /** @var array */ 
1715    private  $ designPaths
1816
19-     /** 
20-      * @var string 
21-      */ 
17+     /** @var string */ 
2218    private  $ webRootDir
2319
24-     /** 
25-      * @var \Psr\Log\LoggerInterface 
26-      */ 
20+     /** @var \Psr\Log\LoggerInterface|null */ 
2721    private  $ logger
2822
29-     public  function  __construct (array  $ designPaths$ webRootDirLoggerInterface $ loggernull )
23+     public  function  __construct (array  $ designPaths$ webRootDir? LoggerInterface $ loggernull )
3024    {
3125        $ this designPaths  = $ designPaths
3226        $ this webRootDir  = $ webRootDir
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments