diff --git a/src/ErrorHandlers/ThrowErrorException.php b/src/ErrorHandlers/ThrowErrorException.php index bc2dd62..f580b6b 100644 --- a/src/ErrorHandlers/ThrowErrorException.php +++ b/src/ErrorHandlers/ThrowErrorException.php @@ -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, diff --git a/src/ErrorHandlers/TriggerExceptionError.php b/src/ErrorHandlers/TriggerExceptionError.php index 1b2a64f..98d0f02 100644 --- a/src/ErrorHandlers/TriggerExceptionError.php +++ b/src/ErrorHandlers/TriggerExceptionError.php @@ -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`. diff --git a/src/InterfaceTraits/CountableTrait.php b/src/InterfaceTraits/CountableTrait.php index d82eef9..3c231cc 100644 --- a/src/InterfaceTraits/CountableTrait.php +++ b/src/InterfaceTraits/CountableTrait.php @@ -36,7 +36,7 @@ use Countable; * @api * * @template TValue of mixed - * @implements Countable + * @implements Countable * @phpstan-require-implements Countable */ trait CountableTrait