| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | public function change_email($enabled = null, $subdomains = null, $prepend_links_with = null) |
||
| 38 | { |
||
| 39 | $data = [ |
||
| 40 | 'enabled' => $enabled, |
||
| 41 | 'subdomains' => $subdomains, |
||
| 42 | 'prepend_links_with' => $prepend_links_with, |
||
| 43 | ]; |
||
| 44 | |||
| 45 | return $this->put('zones/'.$zone_identifier.'/amp/viewer', $data); |
||
|
|
|||
| 46 | } |
||
| 47 | } |
||
| 48 |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.