@@ -130,6 +130,9 @@ |
||
| 130 | 130 | return $this->requestBody; |
| 131 | 131 | } |
| 132 | 132 | |
| 133 | + /** |
|
| 134 | + * @param string $type |
|
| 135 | + */ |
|
| 133 | 136 | public function addFeature($type, $maxResults = 1) |
| 134 | 137 | { |
| 135 | 138 | |
@@ -106,7 +106,7 @@ |
||
| 106 | 106 | $data = file_get_contents($path); |
| 107 | 107 | // For URLs, we have to wait till we've got the contents. |
| 108 | 108 | if (strlen($data) > $this->imageMaxSize) { |
| 109 | - throw new LimitExceededException(sprintf($msg, $path, $size, $this->imageMaxSize), 2); |
|
| 109 | + throw new LimitExceededException(sprintf($msg, $path, $size, $this->imageMaxSize), 2); |
|
| 110 | 110 | } |
| 111 | 111 | return base64_encode($data); |
| 112 | 112 | } |