You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Utils.php
+3-6Lines changed: 3 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,4 @@
1
-
<?php
2
-
3
-
declare(strict_types=1);
4
-
1
+
<?phpdeclare(strict_types=1);
5
2
/*
6
3
* This file is part of the WebPush library.
7
4
*
@@ -82,8 +79,8 @@ public static function checkRequirementExtension(): void
82
79
}
83
80
84
81
// Check optional extensions.
85
-
if (!extension_loaded("bcmath") && !extension_loaded("gmp")) {
86
-
trigger_error("It is highly recommended to install the GMP or BCMath extension to speed up calculations. The fastest available calculator implementation will be automatically selected at runtime.", E_USER_NOTICE);
82
+
if (!extension_loaded('bcmath') && !extension_loaded('gmp')) {
83
+
trigger_error('It is highly recommended to install the GMP or BCMath extension to speed up calculations. The fastest available calculator implementation will be automatically selected at runtime.', E_USER_NOTICE);
0 commit comments