From 9e39eb43ebefca7dd26a65e2a3dd6aa366ec337c Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 10 Oct 2025 17:49:03 +0200 Subject: better docs --- it_url.class | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/it_url.class b/it_url.class index e5b284c..6d1d7ce 100644 --- a/it_url.class +++ b/it_url.class @@ -119,7 +119,7 @@ static function _postprocess($data, $p) * Result processing * @param $p['assoc'] Return [ 'data' => string, 'status' => int, 'cookies' => array, 'headers' => array, 'errstr' => string ] instead of just data * @param $p['writefunction'] function to be called whenever data is received (for server-sent-events etc.) - * @param $p['postprocess'] function called with content and $p which has it_error. returns content or null (which triggers retry) + * @param $p['postprocess'] function called with content and $p which has it_error params. returns content or null/false (which triggers retry) * @param $p['followlocation']Follow redirects [true] * * @return Content of resulting page (considering redirects, excluding headers or false on error) or array if 'assoc' => true @@ -771,7 +771,7 @@ static function _expired($path, $maxage, $randomexpire = 0) else $result = false; } - else # File does not exists yet + else # File does not exist yet $result = true; return $result; -- cgit v1.2.3