From ddcc83244f251a8f6bf510cbbdc7914ea9570abf Mon Sep 17 00:00:00 2001 From: Simon Berger Date: Mon, 7 Aug 2017 21:53:18 +0200 Subject: [PATCH] #1502 | Added phpdoc and removed unused option parameter --- lib/Cpdf.php | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/lib/Cpdf.php b/lib/Cpdf.php index 3d068ddfe..2ec44714a 100644 --- a/lib/Cpdf.php +++ b/lib/Cpdf.php @@ -951,7 +951,14 @@ protected function o_font($id, $action, $options = '') return null; } - protected function o_toUnicode($id, $action, $options = '') + /** + * A toUnicode section, needed for unicode fonts + * + * @param $id + * @param $action + * @return null|string + */ + protected function o_toUnicode($id, $action) { switch ($action) { case 'new': @@ -1213,7 +1220,14 @@ protected function o_fontDescendentCID($id, $action, $options = '') return null; } - protected function o_cidSystemInfo($id, $action, $options = '') + /** + * CID system info section, needed for unicode fonts + * + * @param $id + * @param $action + * @return null|string + */ + protected function o_cidSystemInfo($id, $action) { switch ($action) { case 'new':