Skip to content

v0.7.2

Choose a tag to compare

@Polliog Polliog released this 19 Mar 20:55
· 10 commits to main since this release

Bug Fixes

  • Fixed ErrorListenerIntegration closure return type — kept : bool to satisfy set_error_handler contract, and cast previous handler result with (bool) to safely handle null returns from chained handlers. Closes #6.
  • Fixed beforeSend PHPDoc callable shape: second parameter corrected from array<string, mixed> to EventHint|null to match actual call site.
  • Added typed callable shapes via PHPDoc to Options::$beforeSend, Options::$beforeBreadcrumb, and Options::$integrations for PHPStan validation.
  • Tightened Scope event processor arrays from callable[] to array<callable(Event): ?Event>.