@@ -21,6 +21,12 @@ |
||
21 | 21 | /** @var string */ |
22 | 22 | protected $pattern; |
23 | 23 | |
24 | + /** |
|
25 | + * @param string $application |
|
26 | + * @param ComposerInfo $composer_info |
|
27 | + * @param string $version_file |
|
28 | + * @param string $pattern |
|
29 | + */ |
|
24 | 30 | public function __construct($application, $composer_info, $document_root, $version_file, $pattern) |
25 | 31 | { |
26 | 32 | $this->application = $application; |
@@ -12,7 +12,6 @@ |
||
12 | 12 | * an application that is the specific type of application handled |
13 | 13 | * by the class that implements InspectorInterface. |
14 | 14 | * |
15 | - * @param string $path |
|
16 | 15 | * @return InfoInterface|false |
17 | 16 | */ |
18 | 17 | public function valid(ComposerInfo $composer_info); |
@@ -36,6 +36,9 @@ |
||
36 | 36 | return !empty($this->composer_json) && isset($this->composer_json['name']); |
37 | 37 | } |
38 | 38 | |
39 | + /** |
|
40 | + * @param string $typeToFind |
|
41 | + */ |
|
39 | 42 | public function pathForType($typeToFind) |
40 | 43 | { |
41 | 44 | foreach ($this->installerPaths() as $path => $types) { |