We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm not sure if this is the expected behavior, but it's not for me When @return null is parsed, collector detects it as object
@return null
object
Reproducing...
./phpdox.xml config file
./phpdox.xml
<?xml version="1.0" encoding="utf-8" ?> <phpdox xmlns="http://xml.phpdox.net/config"> <project name="Example" source="${basedir}/src" workdir="${basedir}/build"> <collector backend="parser" /> </project> </phpdox>
./src/StrangeClass.php source file
./src/StrangeClass.php
<?php class StrangeClass { /** * @return null */ public function doNothing(){} }
After running phpdox --collector, here is ./build/classes/StrangeClass.xml
phpdox --collector
./build/classes/StrangeClass.xml
<?xml version="1.0" encoding="UTF-8"?> <class xmlns="http://xml.phpdox.net/src" full="StrangeClass" namespace="" name="StrangeClass" abstract="false" final="false" start="3" end="9"> <file path="/tmp/nulltype/src" file="StrangeClass.php" realpath="/tmp/nulltype/src/StrangeClass.php" size="101" time="2015-06-11T10:10:16+00:00" unixtime="1434017416" sha1="dd4d5a49de85f64e8814f0a680cb223dac9e29ce" relative="StrangeClass.php"/> <method name="doNothing" start="8" end="8" abstract="false" final="false" static="false" visibility="public"> <docblock> <description/> <return type="object"> <type full="null" namespace="" name="null"/> </return> </docblock> </method> </class>
The text was updated successfully, but these errors were encountered:
No, that is not intended behavior.
Sorry, something went wrong.
Fix issue #232
0932dd9
No branches or pull requests
I'm not sure if this is the expected behavior, but it's not for me
When
@return null
is parsed, collector detects it asobject
Reproducing...
./phpdox.xml
config file./src/StrangeClass.php
source fileAfter running
phpdox --collector
, here is./build/classes/StrangeClass.xml
The text was updated successfully, but these errors were encountered: