@@ -126,7 +126,7 @@ |
||
| 126 | 126 | */ |
| 127 | 127 | private static function matchTypeToRegex($type, $regex, $fileContents) |
| 128 | 128 | { |
| 129 | - $matches=[]; |
|
| 129 | + $matches = []; |
|
| 130 | 130 | if (!preg_match($regex, $fileContents, $matches)) { |
| 131 | 131 | return null; |
| 132 | 132 | } |
@@ -126,7 +126,7 @@ |
||
| 126 | 126 | */ |
| 127 | 127 | private static function matchTypeToRegex($type, $regex, $fileContents) |
| 128 | 128 | { |
| 129 | - $matches=[]; |
|
| 129 | + $matches = []; |
|
| 130 | 130 | if (!preg_match($regex, $fileContents, $matches)) { |
| 131 | 131 | return null; |
| 132 | 132 | } |
@@ -88,8 +88,7 @@ |
||
| 88 | 88 | * use the output of /usr/bin/lsb_release (if present) to determine which |
| 89 | 89 | * Linux distro we are using |
| 90 | 90 | * |
| 91 | - * @param string $path |
|
| 92 | - * path to the binary to run |
|
| 91 | + * @param string $pathToBinary |
|
| 93 | 92 | * @return null|OsType |
| 94 | 93 | * OsType if we know which Linux distro we are using |
| 95 | 94 | * null otherwise |
@@ -73,8 +73,6 @@ |
||
| 73 | 73 | * use the output of a specific file (if present) to determine which |
| 74 | 74 | * Linux distro we are using |
| 75 | 75 | * |
| 76 | - * @param string $path |
|
| 77 | - * path to the file to parse or the binary to run |
|
| 78 | 76 | * @return null|OsType |
| 79 | 77 | * OsType if we know which Linux distro we are using |
| 80 | 78 | * null otherwise |