Skip to content

Commit 4ac7a51

Browse files
committed
Documentation
1 parent 30c23e6 commit 4ac7a51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Installer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ abstract class Installer
1919
*/
2020
public static function getBinaryFilename()
2121
{
22+
# Defaults
23+
$osString = 'linux';
2224
$architecture = 'amd64';
2325

2426
# Switch architecture if needed
2527
if (2147483647 == PHP_INT_MAX) {
2628
$architecture = '386';
2729
}
2830

29-
# Default OS
30-
$osString = 'linux';
31-
31+
# Switch Operating System if needed
3232
switch (TRUE) {
3333
case stristr(PHP_OS, 'DAR'):
3434
$osString = 'darwin';

0 commit comments

Comments
 (0)