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

Cannot import a type alias from unknown class #439

Closed
loevgaard opened this issue Oct 17, 2023 · 3 comments
Closed

Cannot import a type alias from unknown class #439

loevgaard opened this issue Oct 17, 2023 · 3 comments

Comments

@loevgaard
Copy link

I am getting this exception:

Cannot import a type alias from unknown class `this` in class `Setono\EditorJS\Block\Block`. 

When I call this method: https://github.com/Setono/editorjs-php/blob/1.x/src/Parser/Parser.php#L41 with the following content:

{"time":1697525752042,"blocks":[{"id":"M97WRR3EL6","type":"paragraph","data":{"text":"sadfasdf"}}],"version":"2.26.5"}

I can confirm that I don't get this exception in 1.6.0, but I get it in 1.6.1, so I my guess is it's related to this c231020

@romm
Copy link
Member

romm commented Oct 18, 2023

Hello @loevgaard, thanks for the report. I think this should be fixed with #437, could you give it a try on your side? Feel free to re-open the issue if the problem persists. 😉

@romm romm closed this as completed Oct 18, 2023
@loevgaard
Copy link
Author

Thank you very much! Will try it out :)

@romm
Copy link
Member

romm commented Oct 23, 2023

Version 1.7.0 has just been released! Enjoy. 😎

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

2 participants