Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Zend\Code: Docblock generates empty line under @tags if docblock was read from existing code #4617

Closed
wants to merge 2 commits into from

Conversation

mathielen
Copy link

it does not generate that line if docblock was newly created.

mathielen added 2 commits June 9, 2013 16:36
existing code. it does not generate that line if docblock was created.
is in same namespace (or parent one). This also breaks code, as the
absolute namespace doesnt have a \ in the beginning.

if (substr($parameterType, 0, strlen($currentNamespace)) == $currentNamespace) {
$parameterType = substr($parameterType, strlen($currentNamespace)+1);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please fix the identation

@ghost ghost assigned weierophinney Jun 11, 2013
weierophinney added a commit that referenced this pull request Jun 11, 2013
Zend\Code: Docblock generates empty line under @tags if docblock was read from existing code
weierophinney added a commit that referenced this pull request Jun 11, 2013
- indentation
weierophinney added a commit that referenced this pull request Jun 11, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants