Skip to content
New issue

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

NS in extends #28

Closed
Lopo opened this issue Jul 6, 2011 · 6 comments
Closed

NS in extends #28

Lopo opened this issue Jul 6, 2011 · 6 comments
Assignees
Labels

Comments

@Lopo
Copy link
Contributor

Lopo commented Jul 6, 2011

example:

<?php
namespace NS1;
use NS2\Foo;
class Bar extends Foo {}

generate result:

class Bar as descendant of NS1\Foo

it does not use declared fully qualified class from use declaration, but use local namespace (and NS1\Foo not exist)

visible in tree of classes and tree part of head in class detail

@ghost ghost assigned Andrewsville Jul 6, 2011
@Andrewsville
Copy link
Contributor

What version are you using? I've just tried to document the example piece of code and the result is here:

And as far as I can tell, it is correct.

@Lopo
Copy link
Contributor Author

Lopo commented Jul 6, 2011

tree: http://bailiff.losys.eu/api/tree.html
documentation: http://bailiff.losys.eu/api/class-BailIff.Components.DataGrid.Columns.Column.html
source: http://bailiff.losys.eu/api/source-BailIff.Components.DataGrid.Columns.Column.html

class Column extends Nette\ComponentModel\Container, but generated that extends BailIff\Components\DataGrid\Columns\Container

@Lopo
Copy link
Contributor Author

Lopo commented Jul 6, 2011

forgot version info - tested actual master & dev ... both give same result

Andrewsville added a commit that referenced this issue Jul 6, 2011
@Andrewsville
Copy link
Contributor

Please try it with the current dev. The problem should be fixed.

@Lopo
Copy link
Contributor Author

Lopo commented Jul 6, 2011

yep, seems fixed
thx mate

@kukulich
Copy link
Contributor

Fixed in 2.0.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants