Skip to content

Instantly share code, notes, and snippets.

@nerrad
Created February 27, 2014 17:58
Show Gist options
  • Save nerrad/9255334 to your computer and use it in GitHub Desktop.
Save nerrad/9255334 to your computer and use it in GitHub Desktop.
An example of how spacing can cause problems with phpdoc parsing.
//below is an example of proper spacing
/**
* This is a summary
* This is a longer description etc.
*
* @abstract
* @param string $some_param A string
* @returns void
**/
//below is an example of improper spacing
/**
* This is a summary
* This is a longer description etc.
* @abstract
* @param string $some_param a string
* @returns void
**/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment