How can I find the method foo with return type boolean
in my example using PhpStorm's Structural Search?
<?php
class test {
public function hello() {
return true;
}
/**
* @return bool
*/
public function foo(): boolean {
return true;
}
}
$t = new test();
$t->foo();
I've tried the following search template:
class $a$ {
public function $show$(): boolean {
$content$
}
}
Where can I learn more about these code/search templates?