buffertools-php
buffertools-php copied to clipboard
change phpDoc Correct for \BitWasp\Buffertools\Template::parse
phpDoc for method: \BitWasp\Buffertools\Template::parse change phpDoc Correct to : /** * Parse a sequence of objects from binary, using the current template. * * @param Parser $parser * @return Buffer[] */
If a template specifies a type that's an integer it'll return the integer in the array.
/**
* Parse a sequence of objects from binary, using the current template.
*
* @param Parser $parser
* @return Buffer[] | int[] | string[]
*/
this phpdoc useful in phpstorm or other IDE