Reference array values when typing function
===

This is probably a basic question but I'm not sure on the terminology to search, so bear with me :)

I have a protected array within a class, and a function that goes through this array and returns a result, for example (I have removed a lot of code so this example is simple);

    class someClass{
        protected static $someArray = array(
            "item1" => "content in item1",
            "item2" => "content in item2"
        );

        public static function getArrayValue($val){
            return self::$someArray[$val];
        }
    }

Then in another file, I use;

    someClass::getArrayValue(...);

What I want to achieve is when I start typing this 'getArrayValue(', for Netbeans to display the values within $someArray, so I can select from a list what item within the array I want to get.

I assume it's something to do with;

    /**
    * @var $someArray
    */

Thanks :)