Fix phpDoc errors
This commit is contained in:
parent
6cb08ef7a3
commit
0467b8bad9
|
@ -26,7 +26,7 @@ namespace OCC\Basics\ErrorHandlers;
|
|||
use ErrorException;
|
||||
|
||||
/**
|
||||
* Throw internal errors as exceptions.
|
||||
* Throws internal errors as exceptions.
|
||||
*
|
||||
* If registered as error handler, this converts an internal PHP error into an
|
||||
* `ErrorException`. It respects the `error_reporting` directive.
|
||||
|
@ -48,7 +48,7 @@ class ThrowErrorException
|
|||
*
|
||||
* @return bool Always returns FALSE when not throwing an exception
|
||||
*
|
||||
* @throws ErrorException
|
||||
* @throws ErrorException if `error_reporting` is set to report the error
|
||||
*/
|
||||
public function __invoke(
|
||||
int $errno = E_USER_ERROR,
|
||||
|
|
|
@ -26,7 +26,7 @@ namespace OCC\Basics\ErrorHandlers;
|
|||
use Throwable;
|
||||
|
||||
/**
|
||||
* Trigger errors for uncaught exceptions.
|
||||
* Triggers errors for uncaught exceptions.
|
||||
*
|
||||
* If registered as exception handler, this catches an uncaught exception and
|
||||
* converts it into an internal PHP error of severity `E_USER_ERROR`.
|
||||
|
|
|
@ -36,7 +36,7 @@ use Countable;
|
|||
* @api
|
||||
*
|
||||
* @template TValue of mixed
|
||||
* @implements Countable
|
||||
* @implements Countable<TValue>
|
||||
* @phpstan-require-implements Countable
|
||||
*/
|
||||
trait CountableTrait
|
||||
|
|
Loading…
Reference in New Issue