Просмотр исходного кода

Fix return type of getTesterInvoicePDFPath method

Alan Lam 6 лет назад
Родитель
Сommit
bf7fa9f2e6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      engine/test.php

+ 1 - 1
engine/test.php

@@ -667,7 +667,7 @@ class Test extends Model {
 		return "/account/tests/{$this->id}/files/pdf";
 	}
 
-	public function getTesterInvoicePDFPath(): bool {
+	public function getTesterInvoicePDFPath(): string {
 		return sprintf("%s/tester_invoice.pdf", $this->getDirectory());
 	}