Skip to content

Commit f5f27ea

Browse files
authored
Fix: correct type for set_error_handler (#4772)
1 parent b397e94 commit f5f27ea

File tree

1 file changed

+1
-1
lines changed
  • app/code/core/Mage/Core/Model

1 file changed

+1
-1
lines changed

app/code/core/Mage/Core/Model/App.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ protected function _initFrontController()
790790
/**
791791
* Redeclare custom error handler
792792
*
793-
* @param string $handler
793+
* @param callable|null $handler
794794
* @return $this
795795
*/
796796
public function setErrorHandler($handler)

0 commit comments

Comments
 (0)