This commit is contained in:
2021-10-18 11:35:13 +08:00
parent 47be3285c5
commit ea5b473638
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ class Environmental
/**
* @return bool
*/
#[Pure] public function isMac(): bool
public function isMac(): bool
{
$output = strtolower(PHP_OS | PHP_OS_FAMILY);
if (str_contains('mac', $output)) {