phpipam / phpipam-api-clients

Collection of API clients for phpipam API
43 stars 34 forks source link

Array marked public, listed as private #8

Open lima3w opened 7 years ago

lima3w commented 7 years ago

In file class.phpipam-api.php, on lines 191-201, the comment lists the access as private but the array itself is marked public. Is this an oversite or am I just missing the point of the access listing?

/**
 * To store result
 *
 * @var mixed
 * @access private
 */
public $result = array(
    "success" => true,
    "code"    => 204,
    "message" => ""
);
gilcot commented 6 years ago

For my understanding of the later usage (with: exception, get_result , print_result , execute, curl_authenticate and?), it's an internal var, so private :-)