@@ -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 | { |
@@ -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 $clipRect |
| 165 | 165 | * |
| 166 | - * @return \JonnyW\PhantomJs\IO\OutputInterface |
|
| 166 | + * @return OutputTrait |
|
| 167 | 167 | */ |
| 168 | 168 | public function withClipRect(ClipRect $clipRect) |
| 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 | { |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | * |
| 57 | 57 | * @param int $width |
| 58 | 58 | * @param int $height |
| 59 | - * @param int|JonnyW\PhantomJs\Page\Margin $margin (default: 0) |
|
| 59 | + * @param integer $margin (default: 0) |
|
| 60 | 60 | */ |
| 61 | 61 | public function __construct($width, $height, $margin = 0) |
| 62 | 62 | { |