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 91fa71b commit 28d882bCopy full SHA for 28d882b
src/Fluent.php
@@ -249,11 +249,8 @@ public function jsonSerialize(): mixed
249
250
/**
251
* Convert the fluent instance to JSON.
252
- *
253
- * @param int $options
254
- * @return string
255
*/
256
- public function toJson($options = 0)
+ public function toJson(int $options = 0): string
257
{
258
return json_encode($this->jsonSerialize(), $options);
259
}
0 commit comments