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

php7,unsupported variable type array with default value #461

Open
itchin opened this issue Jul 23, 2018 · 1 comment
Open

php7,unsupported variable type array with default value #461

itchin opened this issue Jul 23, 2018 · 1 comment

Comments

@itchin
Copy link

itchin commented Jul 23, 2018

qq 20180723113958
Traceback (most recent call last):
File "D:\Program Files\Sublime Text-3176\sublime_plugin.py", line 1072, in run_
return self.run(edit)
File "D:\Program Files\Sublime Text-3176\Data\Installed Packages\DocBlockr.sublime-package\jsdocs.py", line 163, in run
File "D:\Program Files\Sublime Text-3176\Data\Installed Packages\DocBlockr.sublime-package\jsdocs.py", line 358, in parse
File "D:\Program Files\Sublime Text-3176\Data\Installed Packages\DocBlockr.sublime-package\jsdocs.py", line 426, in formatFunction
File "D:\Program Files\Sublime Text-3176\Data\Installed Packages\DocBlockr.sublime-package\jsdocs.py", line 501, in parseArgs
File "D:\Program Files\Sublime Text-3176\Data\Installed Packages\DocBlockr.sublime-package\jsdocs.py", line 509, in getArgInfo
File "D:\Program Files\Sublime Text-3176\Data\Installed Packages\DocBlockr.sublime-package\jsdocs.py", line 798, in getArgType
TypeError: Can't convert 'NoneType' object to str implicitly

@itchin
Copy link
Author

itchin commented Jul 23, 2018

Only when default value use the short array syntax, which replaces array() with []

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

No branches or pull requests

1 participant