Completed
Pull Request — master (#276)
by Albin
05:50
created
src/Knp/Snappy/Pdf.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -15,6 +15,7 @@
 block discarded – undo
15 15
 
16 16
     /**
17 17
      * {@inheritdoc}
18
+     * @param string $binary
18 19
      */
19 20
     public function __construct($binary = null, array $options = [], array $env = null)
20 21
     {
Please login to merge, or discard this patch.
test/Knp/Snappy/PdfTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -138,6 +138,9 @@
 block discarded – undo
138 138
         parent::__construct('emptyBinary');
139 139
     }
140 140
 
141
+    /**
142
+     * @return string
143
+     */
141 144
     public function getLastCommand()
142 145
     {
143 146
         return $this->lastCommand;
Please login to merge, or discard this patch.
src/Knp/Snappy/GeneratorInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@  discard block
 block discarded – undo
20 20
      * @param string       $output    The output media filename
21 21
      * @param array        $options   An array of options for this generation only
22 22
      * @param bool         $overwrite Overwrite the file if it exists. If not, throw a FileAlreadyExistsException
23
+     * @return void
23 24
      */
24 25
     public function generate($input, string $output, array $options = [], bool $overwrite = false);
25 26
 
@@ -30,6 +31,7 @@  discard block
 block discarded – undo
30 31
      * @param string       $output    The output media filename
31 32
      * @param array        $options   An array of options for this generation only
32 33
      * @param bool         $overwrite Overwrite the file if it exists. If not, throw a FileAlreadyExistsException
34
+     * @return void
33 35
      */
34 36
     public function generateFromHtml($html, string $output, array $options = [], bool $overwrite = false);
35 37
 
Please login to merge, or discard this patch.