1 | <?php |
||
17 | class LoadBalancers extends Api |
||
18 | { |
||
19 | /** |
||
20 | * List load balancers |
||
21 | * List configured load balancers |
||
22 | * |
||
23 | * @param string $zone_identifier |
||
24 | */ |
||
25 | public function load_balancers($zone_identifier) |
||
29 | |||
30 | /** |
||
31 | * Create a load balancer |
||
32 | * Create a new load balancer |
||
33 | * |
||
34 | * @param string $zone_identifier |
||
35 | * @param string $name A hostname of the record that should provide load balancing capabilities. |
||
36 | * If this name already exists as a DNS record in your CloudFlare DNS, |
||
37 | * the existing record will take precedence over the Load Balancer. |
||
38 | * @param string $global_policy ID of the Global Policy object. |
||
39 | * @param string|null $description Object description. |
||
40 | * @param int|null $ttl Time to live (TTL) of the DNS entry for the IP address returned |
||
41 | * by this load balancer. |
||
42 | * @param boolean|null $proxied Whether the hostname should be grey clouded (False) or orange clouded (True). |
||
43 | */ |
||
44 | public function create($zone_identifier, $name, $global_policy, $description = null, $ttl = null, $proxied = null) |
||
56 | |||
57 | /** |
||
58 | * Load balancer details |
||
59 | * Fetch a single configured load balancer |
||
60 | * |
||
61 | * @param string $zone_identifier |
||
|
|||
62 | * @param string $identifier |
||
63 | */ |
||
64 | public function details($identifier) |
||
68 | |||
69 | /** |
||
70 | * Modify a load balancer |
||
71 | * Modify a configured load balancer |
||
72 | * |
||
73 | * @param string $zone_identifier |
||
74 | * @param string $identifier |
||
75 | * @param string|null $name A hostname of the record that should provide load balancing capabilities. |
||
76 | * If this name already exists as a DNS record in your CloudFlare DNS, |
||
77 | * the existing record will take precedence over the Load Balancer. |
||
78 | * @param string|null $global_policy ID of the Global Policy object. |
||
79 | * @param string|null $description Object description. |
||
80 | * @param int|null $ttl Time to live (TTL) of the DNS entry for the IP address returned |
||
81 | * by this load balancer. |
||
82 | * @param boolean|null $proxied Whether the hostname should be grey clouded (False) or orange clouded (True). |
||
83 | */ |
||
84 | public function update($zone_identifier, $identifier, $name = null, $global_policy = null, $description = null, $ttl = null, $proxied = null) |
||
96 | |||
97 | /** |
||
98 | * Delete a load balancer |
||
99 | * Delete a configured load balancer |
||
100 | * |
||
101 | * @param string $zone_identifier |
||
102 | * @param string $identifier |
||
103 | */ |
||
104 | public function delete_load_balancer($zone_identifier, $identifier) |
||
108 | } |
||
109 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function. It has, however, found a similar but not annotated parameter which might be a good fit.
Consider the following example. The parameter
$ireland
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was changed, but the annotation was not.