diff --git a/inc/lib.improve.action.phpheader.php b/inc/lib.improve.action.phpheader.php index 519b096..232224d 100644 --- a/inc/lib.improve.action.phpheader.php +++ b/inc/lib.improve.action.phpheader.php @@ -204,12 +204,13 @@ class ImproveActionPhpheader extends ImproveAction { $res = preg_replace( '/^(\<\?php[\n|\r\n]+)/', - 'bloc)) . "\n */\n\n", + 'bloc)) . "\n */\n", $content, 1, $count ); if ($count) { + $res = str_replace("\n * \n", "\n *\n", $res); $this->setSuccess(__('Write new doc bloc content')); } return $res;