@@ -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 |