projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
vendor
/
symfony
/
polyfill-php70
/
Php70.php
diff --git
a/vendor/symfony/polyfill-php70/Php70.php
b/vendor/symfony/polyfill-php70/Php70.php
index 39e66450769d418c07f47818f9779c70ba616d97..7f1ad08a46b6ccc3038a75c95900e2c5df2afdaa 100644
(file)
--- a/
vendor/symfony/polyfill-php70/Php70.php
+++ b/
vendor/symfony/polyfill-php70/Php70.php
@@
-53,7
+53,7
@@
final class Php70
{
static $handler;
if (!$handler) {
{
static $handler;
if (!$handler) {
-
$handler = function
() { return false; };
+
$handler = function
() { return false; };
}
set_error_handler($handler);
@trigger_error('');
}
set_error_handler($handler);
@trigger_error('');
@@
-66,7
+66,7
@@
final class Php70
return $value;
}
if (!\is_numeric($value) || PHP_INT_MAX <= ($value += 0) || ~PHP_INT_MAX >= $value) {
return $value;
}
if (!\is_numeric($value) || PHP_INT_MAX <= ($value += 0) || ~PHP_INT_MAX >= $value) {
- throw new \TypeError(sprintf('%s() expects parameter %d to be integer, %s given', $caller, $pos, gettype($value)));
+ throw new \TypeError(sprintf('%s() expects parameter %d to be integer, %s given', $caller, $pos,
\
gettype($value)));
}
return (int) $value;
}
return (int) $value;