Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array marked public, listed as private #8

Open
lima3w opened this issue Jan 31, 2017 · 1 comment
Open

Array marked public, listed as private #8

lima3w opened this issue Jan 31, 2017 · 1 comment

Comments

@lima3w
Copy link

lima3w commented Jan 31, 2017

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
Copy link

gilcot commented Aug 9, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants