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

Breaks yield from syntax #35

Closed
Petah opened this issue May 17, 2018 · 0 comments
Closed

Breaks yield from syntax #35

Petah opened this issue May 17, 2018 · 0 comments

Comments

@Petah
Copy link

Petah commented May 17, 2018

When using yield from like:

<?php
class Test2 {
    public function foo() {
        yield 1;
    }

    public function bar() {
        yield from $this->foo();
    }
}

This extension removed the space between from and $this:

<?php
class Test2
{
    public function foo()
    {
        yield 1;
    }

    public function bar()
    {
        yield from$this->foo();
    }
}
kokororin added a commit that referenced this issue May 18, 2018
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