[DOC] Fix extractArray

It makes the use of extractSingle consistent with the signature see #1743

As a side note I realize the store is not used in the extractSingle function, but I guess it could be usefull for people overriding it ?
Merge pull request #1746 from sly7-7/patch-3

[DOC] Fix extractArray example