From e6e3255688e6b6aeb402af99db1282a10cb45cff Mon Sep 17 00:00:00 2001 From: Guillaume LECERF Date: Thu, 30 Apr 2015 16:11:56 +0200 Subject: [PATCH] clone is not a function, but a keyword, and so do not need calling parenthesis --- src/document/rst/parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/document/rst/parser.php b/src/document/rst/parser.php index 51c55267..1e89eb7c 100644 --- a/src/document/rst/parser.php +++ b/src/document/rst/parser.php @@ -3057,7 +3057,7 @@ protected function readSimpleCells( $cellStarts, &$tokens ) /* DEBUG echo "Split, "; // /DEBUG */ - $newToken = clone( $token ); + $newToken = clone $token; $token->content = substr( $token->content, 0, $split ); $newToken->content = substr( $newToken->content, $split + 1 );