summaryrefslogtreecommitdiff
path: root/qbuild
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-05-02 16:33:45 +0300
committerWolfy-J <[email protected]>2019-05-02 16:33:45 +0300
commit64f2c19b0a9a33d97bd947e805d0491e68784423 (patch)
tree238b4a3f638b85180804458f97160455fcca1aff /qbuild
parentcf3e341207893d62bae8a5671118401f745a8f08 (diff)
parent677004f7cb97981f0220e2c65a2e7618505d01dc (diff)
Merge branch 'feature/updates' into pr/issue-121-rename_maxrequest_config_param
Diffstat (limited to 'qbuild')
-rw-r--r--qbuild/src/Builder.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/qbuild/src/Builder.php b/qbuild/src/Builder.php
index 5568d725..4b441094 100644
--- a/qbuild/src/Builder.php
+++ b/qbuild/src/Builder.php
@@ -137,14 +137,14 @@ final class Builder
{
$os = strtolower(PHP_OS);
- if (strpos($os, 'win') !== false) {
- return 'windows';
- }
-
if (strpos($os, 'darwin') !== false) {
return 'darwin';
}
+ if (strpos($os, 'win') !== false) {
+ return 'windows';
+ }
+
return "linux";
}
@@ -234,4 +234,4 @@ final class Builder
return false;
}
}
-} \ No newline at end of file
+}