File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -141,11 +141,11 @@ public function deletePDF(?int $userid = null) {
141
141
* Send the PDF to the browser or return it as a string.
142
142
*
143
143
* @param int $userid the id of the user whose certificate we want to view
144
- * @param int $deliveryoption the delivery option of the customcert
144
+ * @param string $deliveryoption the delivery option of the customcert
145
145
* @param bool $return Do we want to return the contents of the PDF?
146
146
* @return string|void Can return the PDF in string format if specified.
147
147
*/
148
- public function sendPDF (?int $ userid = NULL , int $ deliveryoption = certificate::DELIVERY_OPTION_DOWNLOAD , bool $ return = false ) {
148
+ public function sendPDF (?int $ userid = NULL , string $ deliveryoption = certificate::DELIVERY_OPTION_DOWNLOAD , bool $ return = false ) {
149
149
global $ USER ;
150
150
151
151
if (empty ($ userid )) {
You can’t perform that action at this time.
0 commit comments