mirror of
https://github.com/filp/whoops.git
synced 2026-08-30 12:07:25 +00:00
Merge pull request #782 from TomA-R/fix_non_canonical_casts
Fix PHP 8.5 deprecation when casting to integer using the non canonical name
This commit is contained in:
@@ -159,12 +159,12 @@ class PlainTextHandler extends Handler
|
||||
* Set the size limit in bytes of frame arguments var_dump output.
|
||||
* If the limit is reached, the var_dump output is discarded.
|
||||
* Prevent memory limit errors.
|
||||
* @var integer
|
||||
* @param int $traceFunctionArgsOutputLimit
|
||||
* @return static
|
||||
*/
|
||||
public function setTraceFunctionArgsOutputLimit($traceFunctionArgsOutputLimit)
|
||||
{
|
||||
$this->traceFunctionArgsOutputLimit = (integer) $traceFunctionArgsOutputLimit;
|
||||
$this->traceFunctionArgsOutputLimit = (int) $traceFunctionArgsOutputLimit;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user