diff --git a/SplitSource.php b/SplitSource.php index b1e51d2e..851e1778 100644 --- a/SplitSource.php +++ b/SplitSource.php @@ -257,7 +257,7 @@ function split_file($file, $chunks, $undo) { ); } - if (strpos($new_content, "Td::Td") === false) { // destructor Td::~Td needs to see definitions of all forward-declared classes + if (strpos($new_content, 'Td::') === false) { // destructor Td::~Td needs to see definitions of all forward-declared classes $td_methods = array( 'auth_manager[_(-][^.]|AuthManager' => 'AuthManager', 'ConfigShared|shared_config[(][)]' => 'ConfigShared',