mirror of
https://github.com/filp/whoops.git
synced 2026-11-24 20:56:07 +00:00
fix: use is_int() instead of the is_integer() alias deprecated in PHP 8.6
This commit is contained in:
@@ -147,7 +147,7 @@ class PlainTextHandler extends Handler
|
||||
return $this->addTraceFunctionArgsToOutput;
|
||||
}
|
||||
|
||||
if (! is_integer($addTraceFunctionArgsToOutput)) {
|
||||
if (! is_int($addTraceFunctionArgsToOutput)) {
|
||||
$this->addTraceFunctionArgsToOutput = (bool) $addTraceFunctionArgsToOutput;
|
||||
} else {
|
||||
$this->addTraceFunctionArgsToOutput = $addTraceFunctionArgsToOutput;
|
||||
|
||||
Reference in New Issue
Block a user