We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eb5279 commit 7d53157Copy full SHA for 7d53157
src/Tools/DTO/Tool.php
@@ -176,8 +176,6 @@ public function toArray(): array
176
*/
177
public static function fromArray(array $array): self
178
{
179
- static::validateFromArrayData($array, [self::KEY_TYPE]);
180
-
181
// Check which properties are set to determine how to construct the Tool
182
if (isset($array[self::KEY_FUNCTION_DECLARATIONS])) {
183
$declarations = array_map(function (array $declarationData) {
0 commit comments