diff --git a/SplitSource.php b/SplitSource.php index 6a2f24f22..fdb492b55 100644 --- a/SplitSource.php +++ b/SplitSource.php @@ -166,7 +166,7 @@ function split_file($file, $chunks, $undo) { $parents = array(); foreach ($functions as $i => $f) { if (preg_match_all('/(?J)(create_handler|create_net_actor)<(?[A-Z][A-Za-z]*)>|'. - '(?[A-Z][A-Za-z]*) : public (Td::ResultHandler|NetActor|Request)|'. + '(?[A-Z][A-Za-z]*) (final )?: public (Td::ResultHandler|NetActor|Request)|'. '(CREATE_REQUEST|CREATE_NO_ARGS_REQUEST)[(](?[A-Z][A-Za-z]*)|'. '(?complete_pending_preauthentication_requests)|'. '(?get_message_history_slice)|'.