@@ -99,6 +99,9 @@ |
||
| 99 | 99 | } |
| 100 | 100 | } |
| 101 | 101 | |
| 102 | + /** |
|
| 103 | + * @param string $jsFileContent |
|
| 104 | + */ |
|
| 102 | 105 | private static function extractContent($jsFileContent) : array |
| 103 | 106 | { |
| 104 | 107 | $position = mb_strpos($jsFileContent, 'module.exports = '); |
@@ -101,6 +101,9 @@ |
||
| 101 | 101 | } |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | + /** |
|
| 105 | + * @param string $jsFileContent |
|
| 106 | + */ |
|
| 104 | 107 | private static function extractContent($jsFileContent) : array |
| 105 | 108 | { |
| 106 | 109 | $position = mb_strpos($jsFileContent, 'module.exports = '); |
@@ -21,6 +21,9 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | trait ToolAvailability |
| 23 | 23 | { |
| 24 | + /** |
|
| 25 | + * @param string $tool |
|
| 26 | + */ |
|
| 24 | 27 | protected static function isAvailable($tool) |
| 25 | 28 | { |
| 26 | 29 | $process = new Process(sprintf('%s -v', $tool)); |