It would be nice to have method suggestions in traits aliasing, sample code:

<?php

trait TestTrait {
    public function test($id){
        return $id;
   }
}

class TestClass {
    use TestTrait {
        test as traitTest; //suggest 'test' on Ctrl + Space
    }

    public function test($id) {
        return $this->traitTest($id);
    }
}
a year later
a month later

implemented in the latest release (1.34), plus there are some improvements in the pre-release (1.34.xxxx)

thank you!

    Write a Reply...