@@ -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 | { |
@@ -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 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 | } |
@@ -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 | */ |
@@ -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) |
@@ -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 | { |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | /** |
115 | 115 | * Get paper width. |
116 | 116 | * |
117 | - * @return string |
|
117 | + * @return integer |
|
118 | 118 | */ |
119 | 119 | public function getPaperWidth() |
120 | 120 | { |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | /** |
135 | 135 | * Get paper height. |
136 | 136 | * |
137 | - * @return string |
|
137 | + * @return integer |
|
138 | 138 | */ |
139 | 139 | public function getPaperHeight() |
140 | 140 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * @param string $name |
54 | 54 | * @param mixed $value |
55 | 55 | * |
56 | - * @return \JonnyW\PhantomJs\IO\InputInterface |
|
56 | + * @return InputTrait |
|
57 | 57 | */ |
58 | 58 | public function withCustom($name, $value) |
59 | 59 | { |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | * |
70 | 70 | * @param string $name |
71 | 71 | * |
72 | - * @return \JonnyW\PhantomJs\IO\InputInterface |
|
72 | + * @return InputTrait |
|
73 | 73 | */ |
74 | 74 | public function withoutCustom($name) |
75 | 75 | { |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | * |
107 | 107 | * @param \JonnyW\PhantomJs\Page\Cookie $cookie |
108 | 108 | * |
109 | - * @return \JonnyW\PhantomJs\IO\InputInterface |
|
109 | + * @return InputTrait |
|
110 | 110 | */ |
111 | 111 | public function withCookie(Cookie $cookie) |
112 | 112 | { |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | * |
123 | 123 | * @param string $cookie |
124 | 124 | * |
125 | - * @return \JonnyW\PhantomJs\IO\InputInterface |
|
125 | + * @return InputTrait |
|
126 | 126 | */ |
127 | 127 | public function withoutCookie($cookie) |
128 | 128 | { |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | * @param string $setting |
152 | 152 | * @param mixed $value |
153 | 153 | * |
154 | - * @return \JonnyW\PhantomJs\IO\InputInterface |
|
154 | + * @return InputTrait |
|
155 | 155 | */ |
156 | 156 | public function withSetting($setting, $value) |
157 | 157 | { |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | * |
168 | 168 | * @param string $setting |
169 | 169 | * |
170 | - * @return \JonnyW\PhantomJs\IO\InputInterface |
|
170 | + * @return InputTrait |
|
171 | 171 | */ |
172 | 172 | public function withoutSetting($setting) |
173 | 173 | { |