@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | * Get paper width. |
| 110 | 110 | * |
| 111 | 111 | * @access public |
| 112 | - * @return string |
|
| 112 | + * @return integer |
|
| 113 | 113 | */ |
| 114 | 114 | public function getPaperWidth() |
| 115 | 115 | { |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | * Get paper height. |
| 133 | 133 | * |
| 134 | 134 | * @access public |
| 135 | - * @return string |
|
| 135 | + * @return integer |
|
| 136 | 136 | */ |
| 137 | 137 | public function getPaperHeight() |
| 138 | 138 | { |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | * |
| 41 | 41 | * @access public |
| 42 | 42 | * @param string $name |
| 43 | - * @param mixed $value |
|
| 43 | + * @param string $value |
|
| 44 | 44 | * @return \JonnyW\PhantomJs\Procedure\Input |
| 45 | 45 | */ |
| 46 | 46 | public function set($name, $value) |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | * |
| 61 | 61 | * @access public |
| 62 | 62 | * @param string $name |
| 63 | - * @param mixed $value |
|
| 63 | + * @param string $value |
|
| 64 | 64 | * @return \JonnyW\PhantomJs\Procedure\Output |
| 65 | 65 | */ |
| 66 | 66 | public function set($name, $value) |
@@ -801,7 +801,6 @@ |
||
| 801 | 801 | * Write procedure body to file. |
| 802 | 802 | * |
| 803 | 803 | * @access public |
| 804 | - * @param string $data |
|
| 805 | 804 | * @return string |
| 806 | 805 | */ |
| 807 | 806 | public function writeProcedure($procedure) |
@@ -181,9 +181,6 @@ discard block |
||
| 181 | 181 | * Get procedure factory instance. |
| 182 | 182 | * |
| 183 | 183 | * @access protected |
| 184 | - * @param \JonnyW\PhantomJs\Parser\ParserInterface $parser |
|
| 185 | - * @param \JonnyW\PhantomJs\Cache\CacheInterface $cacheHandler |
|
| 186 | - * @param \JonnyW\PhantomJs\Template\TemplateRendererInterface $renderer |
|
| 187 | 184 | * @return \JonnyW\PhantomJs\Procedure\ProcedureFactory |
| 188 | 185 | */ |
| 189 | 186 | protected function getProcedureFactory() |
@@ -323,7 +320,7 @@ discard block |
||
| 323 | 320 | * Write procedure body to file. |
| 324 | 321 | * |
| 325 | 322 | * @access public |
| 326 | - * @param string $data |
|
| 323 | + * @param string $procedure |
|
| 327 | 324 | * @return string |
| 328 | 325 | */ |
| 329 | 326 | public function writeProcedure($procedure) |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | /** |
| 108 | 108 | * Get template renderer instance. |
| 109 | 109 | * |
| 110 | - * @return \JonnyW\PhantomJs\Message\TemplateRenderer |
|
| 110 | + * @return TemplateRenderer |
|
| 111 | 111 | */ |
| 112 | 112 | protected function getTemplateRenderer() |
| 113 | 113 | { |
@@ -198,7 +198,7 @@ |
||
| 198 | 198 | * @access public |
| 199 | 199 | * @param int $width |
| 200 | 200 | * @param int $height |
| 201 | - * @return void |
|
| 201 | + * @return AbstractRequest |
|
| 202 | 202 | */ |
| 203 | 203 | public function setViewportSize($width, $height) |
| 204 | 204 | { |
@@ -240,7 +240,7 @@ discard block |
||
| 240 | 240 | /** |
| 241 | 241 | * Get quality of capture. |
| 242 | 242 | * |
| 243 | - * @return string |
|
| 243 | + * @return integer |
|
| 244 | 244 | */ |
| 245 | 245 | public function getQuality() |
| 246 | 246 | { |
@@ -251,7 +251,6 @@ discard block |
||
| 251 | 251 | * Set quality of the capture. |
| 252 | 252 | * example: 0 - 100. |
| 253 | 253 | * |
| 254 | - * @param int $format |
|
| 255 | 254 | */ |
| 256 | 255 | public function setQuality($quality) |
| 257 | 256 | { |
@@ -23,6 +23,7 @@ discard block |
||
| 23 | 23 | * @param int $height |
| 24 | 24 | * @param int $top (default: 0) |
| 25 | 25 | * @param int $left (default: 0) |
| 26 | + * @return CaptureRequest |
|
| 26 | 27 | */ |
| 27 | 28 | public function setCaptureDimensions($width, $height, $top = 0, $left = 0); |
| 28 | 29 | |
@@ -58,6 +59,7 @@ discard block |
||
| 58 | 59 | * Set file to save output. |
| 59 | 60 | * |
| 60 | 61 | * @param string $file |
| 62 | + * @return CaptureRequest |
|
| 61 | 63 | */ |
| 62 | 64 | public function setOutputFile($file); |
| 63 | 65 | |
@@ -80,6 +82,7 @@ discard block |
||
| 80 | 82 | * options: pdf, png, jpeg, bmp, ppm, gif. |
| 81 | 83 | * |
| 82 | 84 | * @param string $format |
| 85 | + * @return CaptureRequest|null |
|
| 83 | 86 | */ |
| 84 | 87 | public function setFormat($format); |
| 85 | 88 | |
@@ -94,7 +97,7 @@ discard block |
||
| 94 | 97 | * Set quality of the capture. |
| 95 | 98 | * example: 0 - 100. |
| 96 | 99 | * |
| 97 | - * @param int $format |
|
| 100 | + * @return CaptureRequest |
|
| 98 | 101 | */ |
| 99 | 102 | public function setQuality($quality); |
| 100 | 103 | } |