Your project should not use invalid parameter and return typehints

More information: https://insight.symfony.com/what-we-analyse/php.invalid_typehint

in src/Errbit/Errbit.php, line 73
  1. /**
  2. * @param $callback
  3. * @return $this
  4. * @throws \Errbit\Exception\Exception
  5. */
  6. public function onNotify($callback): static
    Method Errbit\Errbit::onNotify() has parameter $callback with no type specified.
    Last edited by emgiezet
  7. {
  8. if (!is_callable($callback)) {
  9. throw new Exception('Notify callback must be callable');
  10. }
  • emgiezet

    Ignored on Tue, 07 Feb 2023 15:58:22 GMT