Skip to content

Commit ddcc832

Browse files
simonbergerbsweeney
authored andcommitted
dompdf#1502 | Added phpdoc and removed unused option parameter
1 parent 05d60b2 commit ddcc832

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

lib/Cpdf.php

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,14 @@ protected function o_font($id, $action, $options = '')
951951
return null;
952952
}
953953

954-
protected function o_toUnicode($id, $action, $options = '')
954+
/**
955+
* A toUnicode section, needed for unicode fonts
956+
*
957+
* @param $id
958+
* @param $action
959+
* @return null|string
960+
*/
961+
protected function o_toUnicode($id, $action)
955962
{
956963
switch ($action) {
957964
case 'new':
@@ -1213,7 +1220,14 @@ protected function o_fontDescendentCID($id, $action, $options = '')
12131220
return null;
12141221
}
12151222

1216-
protected function o_cidSystemInfo($id, $action, $options = '')
1223+
/**
1224+
* CID system info section, needed for unicode fonts
1225+
*
1226+
* @param $id
1227+
* @param $action
1228+
* @return null|string
1229+
*/
1230+
protected function o_cidSystemInfo($id, $action)
12171231
{
12181232
switch ($action) {
12191233
case 'new':

0 commit comments

Comments
 (0)