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 7ce17c2 commit 88d4cf1Copy full SHA for 88d4cf1
src/Api/Groups.php
@@ -77,7 +77,7 @@ public function create(string $name, string $path, string $description = null, s
77
];
78
79
return $this->post('groups', \array_filter($params, function ($value) {
80
- return null !== $value && (!\is_string($value) || \strlen($value) > 0);
+ return null !== $value && (!\is_string($value) || '' !== $value);
81
}));
82
}
83
0 commit comments