@@ -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) |
@@ -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 | } |