fix phpdoc typo
Removes unused variable in extract() method
minor optimization