for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ArjanSchouten\HtmlMinifier\Exception;
class FileNotFoundException extends \InvalidArgumentException implements ExceptionInterface
{
/**
* @param string $message Exception message to throw
* @param int $code Exception code
* @param Exception $previous previous exception used for the exception chaining
$previous
null|\Exception
This check looks for @param annotations where the type inferred by our type inference engine differs from the declared type.
@param
It makes a suggestion as to what type it considers more descriptive.
Most often this is a case of a parameter that can be null in addition to its declared types.
*/
public function __construct($message = 'The file does not exists.', $code = 0, \Exception $previous = null)
parent::__construct($message, $code, $previous);
}
This check looks for
@param
annotations where the type inferred by our type inference engine differs from the declared type.It makes a suggestion as to what type it considers more descriptive.
Most often this is a case of a parameter that can be null in addition to its declared types.