File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1919use  function  in_array ;
2020use  function  is_dir ;
2121use  function  is_file ;
22+ use  function  ksort ;
2223use  function  restore_error_handler ;
2324use  function  set_error_handler ;
2425use  function  sha1_file ;
@@ -81,10 +82,15 @@ public function loadContainer(): string
8182
8283$ attributesPhp  = __DIR__  . '/../../vendor/attributes.php ' ;
8384
85+ $ staticParameters  = $ this  ->staticParameters ;
86+ ksort ($ staticParameters ['env ' ]);
87+ unset($ staticParameters ['env ' ]['_ ' ]);
88+ unset($ staticParameters ['env ' ]['SHLVL ' ]);
89+ 
8490$ className  = $ loader ->load (
8591[$ this  , 'generateContainer ' ],
8692[
87- $ this -> staticParameters ,
93+ $ staticParameters ,
8894array_keys ($ this  ->dynamicParameters ),
8995$ this  ->configs ,
9096PHP_VERSION_ID  - PHP_RELEASE_VERSION ,
                                 You can’t perform that action at this time. 
               
                  
0 commit comments