changed "@return array" lines with "@return static[]" where necessary, for better IDE inspection