Completed
Push — master ( b3a3bf...29833c )
by
unknown
07:02
created
src/Common/PdfPrinter.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -122,6 +122,10 @@
 block discarded – undo
122 122
 
123 123
 	}
124 124
 
125
+	/**
126
+	 * @param boolean $response
127
+	 * @param string $templatePath
128
+	 */
125 129
 	private function processPdf($response, $templatePath, $fieldData, $investment, $hash)
126 130
 	{
127 131
 		$pdf = new \FPDM($templatePath);
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -9,8 +9,6 @@
 block discarded – undo
9 9
 
10 10
 require(APP_DIR . '/fpdm/fpdm.php');
11 11
 
12
-use Nette\Templating\FileTemplate;
13
-
14 12
 /**
15 13
  * 
16 14
  */
Please login to merge, or discard this patch.
src/Frontend/presenters/InvestformPresenter.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@  discard block
 block discarded – undo
37 37
 		parent::beforeRender();	
38 38
 	}
39 39
 	
40
+	/**
41
+	 * @param string $name
42
+	 */
40 43
 	public function createComponentForm($name)
41 44
 	{
42 45
 		$form = $this->createForm('form-submit', 'default', null);
@@ -406,6 +409,9 @@  discard block
 block discarded – undo
406 409
 		$this->sendPayload();
407 410
 	}
408 411
 
412
+	/**
413
+	 * @param string $type
414
+	 */
409 415
 	public function sendPdf($investment, $type)
410 416
 	{
411 417
 		$emailSender = new EmailSender($this->settings, $investment, $type);
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use Nette\Forms\Form;
11 11
 use WebCMS\InvestformModule\Entity\Investment;
12 12
 use WebCMS\InvestformModule\Entity\Address;
13
-use WebCMS\InvestformModule\Common\PdfPrinter;
14 13
 use WebCMS\InvestformModule\Common\EmailSender;
15 14
 use WebCMS\InvestformModule\Entity\Businessman;
16 15
 use Nette\Mail\Message;
Please login to merge, or discard this patch.