| Conditions | 3 | 
| Paths | 4 | 
| Total Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 7 | 
| CRAP Score | 3 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 38 | 4 | public function __invoke(string $varName, array $query, InjectorInterface $injector)  | 
            |
| 39 |     { | 
            ||
| 40 | 4 | $superGlobals = static::$globals ? static::$globals : $GLOBALS;  | 
            |
| 
                                                                                                    
                        
                         | 
                |||
| 41 | 4 | $webContextParam = $this->webContextParam;  | 
            |
| 42 | 4 | $phpWebContext = $superGlobals[$webContextParam::GLOBAL_KEY];  | 
            |
| 43 | |||
| 44 | 4 |         if (isset($phpWebContext[$this->webContextParam->key])) { | 
            |
| 45 | 2 | return $phpWebContext[$this->webContextParam->key];  | 
            |
| 46 | }  | 
            ||
| 47 | |||
| 48 | 2 | return ($this->defaultParam)($varName, $query, $injector);  | 
            |
| 49 | }  | 
            ||
| 50 | |||
| 59 | 
Late static binding only has effect in subclasses. A
finalclass cannot be extended anymore so late static binding cannot occurr. Consider replacingstatic::withself::.To learn more about late static binding, please refer to the PHP core documentation.