| 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 |
||
| 38 | |||
| 39 | public function getDocumentationLinks(): array |
||
| 43 | |||
| 44 | public function getRunParameters(): array |
||
| 50 | |||
| 51 | public function isRunnable(array $parameters = []) |
||
| 56 | |||
| 57 | public function run(array $parameters = []) |
||
| 64 | |||
| 65 | public function importClass(array $parameters = []) |
||
| 69 | } |
||
| 70 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.