for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace tinymeng\uploads\exception;
use tinymeng\tools\exception\TinymengException as Exception;
/**
* Class TinymengException
* @package tinymeng\tools\exception
* @Author: TinyMeng <[email protected]>
* @Created: 2020/8/17
*/
class TinymengException extends Exception
{
* @var int
private $headers;
public function __construct($message = '', \Exception $previous = null, array $headers = [], $code = 0)
$this->headers = $headers;
$headers
array
integer
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..
parent::__construct(400,$message,$previous,$headers,$code);
}
public function getHeaders()
return $this->headers;
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..