| Conditions | 3 |
| Paths | 3 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 46 | public function supportNonceSource() |
||
| 47 | { |
||
| 48 | $name = $this->browserDetector->getName(); |
||
| 49 | $version = $this->browserDetector->getVersion(); |
||
| 50 | |||
| 51 | if (! isset($this->supportedBrowserList[$name])) { |
||
| 52 | return false; |
||
| 53 | } |
||
| 54 | |||
| 55 | if ($version >= $this->supportedBrowserList[$name]) { |
||
| 56 | return true; |
||
| 57 | } |
||
| 58 | |||
| 59 | return false; |
||
| 60 | } |
||
| 61 | } |
||
| 62 |