Skip to content

Commit 019ed30

Browse files
authored
Fix deprecated warning in php7.2
Closes #1078.
1 parent 57e3aaf commit 019ed30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php/class-ee-docker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public static function disconnect_network( $name, $connected_to ) {
127127
/**
128128
* Function to connect site network to appropriate containers.
129129
*/
130-
public function connect_site_network_to( $site_name, $to_container ) {
130+
public static function connect_site_network_to( $site_name, $to_container ) {
131131

132132
if ( self::connect_network( $site_name, $to_container ) ) {
133133
EE::success( "Site connected to $to_container." );

0 commit comments

Comments
 (0)