[docs] Minor Change to method doc block
missing period
Merge pull request #4953 from alexquiambao/4.2

missing period
Merge pull request #4952 from alnutile/patch-1

[docs] Minor Change to method doc block
Use availbale array_get() function