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
Example model:
namespace Foo; class Foo extends \SilverStripe\ORM\DataObject { private static $has_many = [ 'Bars' => Bar::class, ]; } namespace Bar; class Bar extends \SilverStripe\ORM\DataObject {}
When running dev/build you'll get this in the Foo docblock:
* @method DataList|Bar[] Bars()
It's missing use SilverStripe\ORM\DataList; imported - this is a bug
use SilverStripe\ORM\DataList;
The text was updated successfully, but these errors were encountered:
Isn't this pretty much what is covered in #114 ?
I like the use statement addition though, but I'm not sure how to parse that, would probably end up using regex to check if it's already there...
Sorry, something went wrong.
This is only a valid issue if the shortname feature is enabled.
I agree though, it's pretty annoying
Closing this for now, changing use statements feels like touching active code, which I'd rather avoid.
use
Feel free to open again if you disagree.
No branches or pull requests
Example model:
When running dev/build you'll get this in the Foo docblock:
It's missing
use SilverStripe\ORM\DataList;
imported - this is a bugThe text was updated successfully, but these errors were encountered: