Skip to content

Commit c4375d5

Browse files
committed
Disable Base64 string data support.
1 parent d5530d9 commit c4375d5

File tree

3 files changed

+5
-15
lines changed

3 files changed

+5
-15
lines changed

CHANGELOG.md

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

3+
## 1.8.36 - 2019-12-30
4+
- Disable Base64 string data support.
5+
6+
37
## 1.8.35 - 2019-12-30
48
- Disable Base64 string data support.
59

src/Objectdet/V20191230/ObjectdetApiResolver.php

-14
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ class DetectMainBody extends Rpc
3838
/**
3939
* @method string getImageType()
4040
* @method string getImageURL()
41-
* @method string getImageContent()
4241
*/
4342
class DetectVehicle extends Rpc
4443
{
@@ -68,17 +67,4 @@ public function withImageURL($value)
6867

6968
return $this;
7069
}
71-
72-
/**
73-
* @param string $value
74-
*
75-
* @return $this
76-
*/
77-
public function withImageContent($value)
78-
{
79-
$this->data['ImageContent'] = $value;
80-
$this->options['form_params']['ImageContent'] = $value;
81-
82-
return $this;
83-
}
8470
}

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.35';
19+
const VERSION = '1.8.36';
2020

2121
/**
2222
* @param Event $event

0 commit comments

Comments
 (0)