1 | <?php |
||
7 | class SuggestImportSolution implements RunnableSolution |
||
8 | { |
||
9 | /** @var string */ |
||
10 | protected $class; |
||
11 | |||
12 | public function __construct(string $class = null) |
||
16 | |||
17 | public function getSolutionTitle(): string |
||
21 | |||
22 | public function getSolutionDescription(): string |
||
26 | |||
27 | public function getSolutionActionDescription(): string |
||
35 | |||
36 | public function getRunButtonText(): string |
||
40 | |||
41 | public function getDocumentationLinks(): array |
||
45 | |||
46 | public function getRunParameters(): array |
||
52 | |||
53 | public function isRunnable(array $parameters = []) |
||
58 | |||
59 | public function run(array $parameters = []) |
||
66 | |||
67 | public function importClass(array $parameters = []) |
||
71 | } |
||
72 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.