Skip to content

Commit

Permalink
Minor source code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
stefangabos committed Sep 14, 2024
1 parent f4b2ee4 commit 1f3c7df
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion Zebra_cURL.php
Original file line number Diff line number Diff line change
Expand Up @@ -2256,6 +2256,22 @@ public function scrape($url, $body_only = true) {
* Same as the {@link scrape()} method but with incorrect name.
* Kept for backward compatibility purposes.
*
* @param mixed $url An URL to fetch.
*
* > Note that this method only supports a single URL. For processing multiple URLs
* at once, see the {@link get() get} method.
*
* @param boolean $body_only (Optional) When set to `TRUE`, will instruct the method to return *only* the page's
* content, without info, headers, responses, etc.
*
* When set to `FALSE`, will instruct the method to return everything it can about
* the scraped page, as an object with properties as described for the *$callback*
* argument of the {@link get} method.
*
* Default is `TRUE`.
*
* @return mixed Returns the scraped page's content, when *$body_only* is set to `TRUE`, or an object with properties
* as described for the *$callback* argument of the {@link get} method.
* @access private
*/
public function scrap($url, $body_only = true) {
Expand Down Expand Up @@ -2398,7 +2414,7 @@ private function _debug() {
$result = '';

// iterate through the defined constants
foreach(get_defined_constants() as $name => $number)
foreach (get_defined_constants() as $name => $number)

// iterate through the set options
foreach ($this->options as $index => $value)
Expand Down

0 comments on commit 1f3c7df

Please sign in to comment.