Skip to content

Commit 994bc87

Browse files
committed
Disable Base64 string data support.
1 parent 8b9c3a9 commit 994bc87

File tree

3 files changed

+5
-29
lines changed

3 files changed

+5
-29
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 1.8.34 - 2019-12-30
4+
- Disable Base64 string data support.
5+
6+
37
## 1.8.33 - 2019-12-30
48
- Disable Base64 Image string data support.
59

src/Imagerecog/V20190930/ImagerecogApiResolver.php

-28
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ public function withUrl($value)
107107
/**
108108
* @method string getImageType()
109109
* @method string getImageURL()
110-
* @method string getImageContent()
111110
*/
112111
class RecognizeScene extends Rpc
113112
{
@@ -137,25 +136,11 @@ public function withImageURL($value)
137136

138137
return $this;
139138
}
140-
141-
/**
142-
* @param string $value
143-
*
144-
* @return $this
145-
*/
146-
public function withImageContent($value)
147-
{
148-
$this->data['ImageContent'] = $value;
149-
$this->options['form_params']['ImageContent'] = $value;
150-
151-
return $this;
152-
}
153139
}
154140

155141
/**
156142
* @method string getImageType()
157143
* @method string getImageURL()
158-
* @method string getImageContent()
159144
*/
160145
class TaggingImage extends Rpc
161146
{
@@ -185,17 +170,4 @@ public function withImageURL($value)
185170

186171
return $this;
187172
}
188-
189-
/**
190-
* @param string $value
191-
*
192-
* @return $this
193-
*/
194-
public function withImageContent($value)
195-
{
196-
$this->data['ImageContent'] = $value;
197-
$this->options['form_params']['ImageContent'] = $value;
198-
199-
return $this;
200-
}
201173
}

src/Release.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Release
1616
/**
1717
* Version of the SDK
1818
*/
19-
const VERSION = '1.8.33';
19+
const VERSION = '1.8.34';
2020

2121
/**
2222
* @param Event $event

0 commit comments

Comments
 (0)