@@ -74,7 +74,7 @@ |
||
| 74 | 74 | /** |
| 75 | 75 | * Get singleton instance. |
| 76 | 76 | * |
| 77 | - * @return \JonnyW\PhantomJs\Client\ClientInterface |
|
| 77 | + * @return Client |
|
| 78 | 78 | */ |
| 79 | 79 | public static function getInstance() |
| 80 | 80 | { |
@@ -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 AbstractRequest |
|
| 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 | } |
@@ -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 | { |
@@ -125,7 +125,6 @@ |
||
| 125 | 125 | * Create new output instance |
| 126 | 126 | * with log entry added. |
| 127 | 127 | * |
| 128 | - * @param string $line |
|
| 129 | 128 | * |
| 130 | 129 | * @return \JonnyW\PhantomJs\IO\OutputInterface |
| 131 | 130 | */ |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | * |
| 41 | 41 | * @param \JonnyW\PhantomJs\Page\ViewportSize $size |
| 42 | 42 | * |
| 43 | - * @return \JonnyW\PhantomJs\IO\OutputInterface |
|
| 43 | + * @return OutputTrait |
|
| 44 | 44 | */ |
| 45 | 45 | public function withViewportSize(ViewportSize $size) |
| 46 | 46 | { |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | * Create new output instance |
| 55 | 55 | * and unset viewport size. |
| 56 | 56 | * |
| 57 | - * @return \JonnyW\PhantomJs\IO\OutputInterface |
|
| 57 | + * @return OutputTrait |
|
| 58 | 58 | */ |
| 59 | 59 | public function withoutViewportSize() |
| 60 | 60 | { |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | * |
| 82 | 82 | * @param \JonnyW\PhantomJs\Page\PaperSize $size |
| 83 | 83 | * |
| 84 | - * @return \JonnyW\PhantomJs\IO\OutputInterface |
|
| 84 | + * @return OutputTrait |
|
| 85 | 85 | */ |
| 86 | 86 | public function withPaperSize(PaperSize $size) |
| 87 | 87 | { |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | * Create new output instance |
| 96 | 96 | * and unset paper size. |
| 97 | 97 | * |
| 98 | - * @return \JonnyW\PhantomJs\IO\OutputInterface |
|
| 98 | + * @return OutputTrait |
|
| 99 | 99 | */ |
| 100 | 100 | public function withoutPaperSize() |
| 101 | 101 | { |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | * |
| 123 | 123 | * @param \JonnyW\PhantomJs\Page\ZoomFactor $zoom |
| 124 | 124 | * |
| 125 | - * @return \JonnyW\PhantomJs\IO\OutputInterface |
|
| 125 | + * @return OutputTrait |
|
| 126 | 126 | */ |
| 127 | 127 | public function withZoomFactor(ZoomFactor $zoom) |
| 128 | 128 | { |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | * Create new output instance |
| 137 | 137 | * and unset zoom factor. |
| 138 | 138 | * |
| 139 | - * @return \JonnyW\PhantomJs\IO\OutputInterface |
|
| 139 | + * @return OutputTrait |
|
| 140 | 140 | */ |
| 141 | 141 | public function withoutZoomFactor() |
| 142 | 142 | { |
@@ -163,7 +163,7 @@ discard block |
||
| 163 | 163 | * |
| 164 | 164 | * @param \JonnyW\PhantomJs\Page\ClipRect $zoom |
| 165 | 165 | * |
| 166 | - * @return \JonnyW\PhantomJs\IO\OutputInterface |
|
| 166 | + * @return OutputTrait |
|
| 167 | 167 | */ |
| 168 | 168 | public function withClipRect(ClipRect $zoom) |
| 169 | 169 | { |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | * Create new output instance |
| 178 | 178 | * and unset clip rect. |
| 179 | 179 | * |
| 180 | - * @return \JonnyW\PhantomJs\IO\OutputInterface |
|
| 180 | + * @return OutputTrait |
|
| 181 | 181 | */ |
| 182 | 182 | public function withoutClipRect() |
| 183 | 183 | { |
@@ -202,9 +202,8 @@ discard block |
||
| 202 | 202 | * Create new output instance |
| 203 | 203 | * with log entry added. |
| 204 | 204 | * |
| 205 | - * @param string $line |
|
| 206 | 205 | * |
| 207 | - * @return \JonnyW\PhantomJs\IO\OutputInterface |
|
| 206 | + * @return OutputTrait |
|
| 208 | 207 | */ |
| 209 | 208 | public function withLog($entry) |
| 210 | 209 | { |
@@ -1039,7 +1039,6 @@ |
||
| 1039 | 1039 | /** |
| 1040 | 1040 | * Write procedure body to file. |
| 1041 | 1041 | * |
| 1042 | - * @param string $data |
|
| 1043 | 1042 | * |
| 1044 | 1043 | * @return string |
| 1045 | 1044 | */ |
@@ -161,9 +161,6 @@ discard block |
||
| 161 | 161 | /** |
| 162 | 162 | * Get procedure factory instance. |
| 163 | 163 | * |
| 164 | - * @param \JonnyW\PhantomJs\Parser\ParserInterface $parser |
|
| 165 | - * @param \JonnyW\PhantomJs\Cache\CacheInterface $cacheHandler |
|
| 166 | - * @param \JonnyW\PhantomJs\Template\TemplateRendererInterface $renderer |
|
| 167 | 164 | * |
| 168 | 165 | * @return \JonnyW\PhantomJs\Procedure\ProcedureFactory |
| 169 | 166 | */ |
@@ -292,8 +289,8 @@ discard block |
||
| 292 | 289 | /** |
| 293 | 290 | * Write procedure body to file. |
| 294 | 291 | * |
| 295 | - * @param string $data |
|
| 296 | 292 | * |
| 293 | + * @param string $procedure |
|
| 297 | 294 | * @return string |
| 298 | 295 | */ |
| 299 | 296 | public function writeProcedure($procedure) |