Skip to content

Commit cd38bc7

Browse files
committed
Update function name
Signed-off-by: Riddhesh Sanghvi <[email protected]>
1 parent 482b4f8 commit cd38bc7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/helper/Shutdown_Handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Shutdown_Handler {
1414
*/
1515
public function cleanup( $site_command ) {
1616
$reflector = new \ReflectionObject( $site_command[0] );
17-
$method = $reflector->getMethod( 'shutDownFunction' );
17+
$method = $reflector->getMethod( 'shut_down_function' );
1818
$method->setAccessible( true );
1919
$method->invoke( $site_command[0] );
2020
}

src/helper/class-ee-site.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ private function populate_site_info( $args ) {
548548
/**
549549
* Shutdown function to catch and rollback from fatal errors.
550550
*/
551-
protected function shutDownFunction() {
551+
protected function shut_down_function() {
552552

553553
$logger = \EE::get_file_logger()->withName( 'site-command' );
554554
$error = error_get_last();

0 commit comments

Comments
 (0)