Replace alias functions with origin functions

This commit is contained in:
Kleis Auke Wolthuizen
2017-11-21 17:41:21 +01:00
parent 90eaea7be2
commit ee4a42ea06
6 changed files with 7 additions and 7 deletions

View File

@@ -96,7 +96,7 @@ class Zones implements API
{
$zones = $this->listZones($name);
if (sizeof($zones->result) < 1) {
if (count($zones->result) < 1) {
throw new EndpointException('Could not find zones with specified name.');
}