Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

style(php-sdk): trim docblocks in crawl and base tool

Kris Oei309ce8aee8aa
diff --git a/apps/php-sdk/src/Laravel/Tools/FirecrawlCrawl.php b/apps/php-sdk/src/Laravel/Tools/FirecrawlCrawl.php
index f70521a9f..36fbf821a 100644
--- a/apps/php-sdk/src/Laravel/Tools/FirecrawlCrawl.php
+++ b/apps/php-sdk/src/Laravel/Tools/FirecrawlCrawl.php
@@ -14,9 +14,8 @@ use Laravel\Ai\Tools\Request;
class FirecrawlCrawl extends FirecrawlTool
{
/**
- * One wall-clock deadline covering the start request and all polling.
- * Kept below typical queue worker timeouts (Laravel defaults to 60
- * seconds); override to wait longer.
+ * Wall-clock limit for the start request and polling, kept below typical
+ * queue worker timeouts (Laravel defaults to 60 seconds).
*/
protected int $timeoutSeconds = 55;
@@ -89,9 +88,8 @@ class FirecrawlCrawl extends FirecrawlTool
}
/**
- * The status field keeps failed or cancelled crawls visible even when
- * partial pages came back. Pagination cursors are reported, not
- * followed, so the result stays one bounded response.
+ * Failed or cancelled crawls stay visible through the status field.
+ * Pagination cursors are reported, not followed.
*
* @return array<string, mixed>
*/
diff --git a/apps/php-sdk/src/Laravel/Tools/FirecrawlTool.php b/apps/php-sdk/src/Laravel/Tools/FirecrawlTool.php
index 778c496df..5f31e492e 100644
--- a/apps/php-sdk/src/Laravel/Tools/FirecrawlTool.php
+++ b/apps/php-sdk/src/Laravel/Tools/FirecrawlTool.php
@@ -52,8 +52,8 @@ abstract class FirecrawlTool implements Tool
}
/**
- * Encode list items as JSON, dropping tail items when the result would
- * exceed the output budget; a final {"omitted": N} element reports the cut.
+ * Drop tail items when the JSON would exceed the output budget; a final
+ * {"omitted": N} element reports the cut.
*
* @param list<array<string, mixed>> $items
*/