[DOC] Fix extractArray example

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 ?