@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | * |
| 88 | 88 | * @access public |
| 89 | 89 | * @param string $path |
| 90 | - * @return \JonnyW\PhantomJs\Client |
|
| 90 | + * @return Engine |
|
| 91 | 91 | */ |
| 92 | 92 | public function setPath($path) |
| 93 | 93 | { |
@@ -113,8 +113,8 @@ discard block |
||
| 113 | 113 | * Set PhantomJs run options. |
| 114 | 114 | * |
| 115 | 115 | * @access public |
| 116 | - * @param array $options |
|
| 117 | - * @return \JonnyW\PhantomJs\Client |
|
| 116 | + * @param string[] $options |
|
| 117 | + * @return Engine |
|
| 118 | 118 | */ |
| 119 | 119 | public function setOptions(array $options) |
| 120 | 120 | { |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | * |
| 140 | 140 | * @access public |
| 141 | 141 | * @param string $option |
| 142 | - * @return \JonnyW\PhantomJs\Client |
|
| 142 | + * @return Engine |
|
| 143 | 143 | */ |
| 144 | 144 | public function addOption($option) |
| 145 | 145 | { |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | * |
| 156 | 156 | * @access public |
| 157 | 157 | * @param boolean $doDebug |
| 158 | - * @return \JonnyW\PhantomJs\Client |
|
| 158 | + * @return Engine |
|
| 159 | 159 | */ |
| 160 | 160 | public function debug($doDebug) |
| 161 | 161 | { |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | * |
| 170 | 170 | * @access public |
| 171 | 171 | * @param string $info |
| 172 | - * @return \JonnyW\PhantomJs\Client |
|
| 172 | + * @return Engine |
|
| 173 | 173 | */ |
| 174 | 174 | public function log($info) |
| 175 | 175 | { |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | * Clear log info. |
| 194 | 194 | * |
| 195 | 195 | * @access public |
| 196 | - * @return \JonnyW\PhantomJs\Client |
|
| 196 | + * @return Engine |
|
| 197 | 197 | */ |
| 198 | 198 | public function clearLog() |
| 199 | 199 | { |
@@ -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 | { |