Skip to content

Commit

Permalink
Update getInput() to return input
Browse files Browse the repository at this point in the history
  • Loading branch information
kkamara committed Mar 24, 2024
1 parent 1a22844 commit 5dbce10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/Console/Commands/BrowserScrape.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,12 @@ public function __construct()
}

/**
* @return void
* @return string
*/
private function getInput() {
$words = $this->ask('>>');
$this->info($words);
return $words;
}

/**
Expand Down
3 changes: 2 additions & 1 deletion storage/app/NewCrawler2024.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,12 @@ public function __construct()
}

/**
* @return void
* @return string
*/
private function getInput() {
$words = $this->ask('>>');
$this->info($words);
return $words;
}

/**
Expand Down

0 comments on commit 5dbce10

Please sign in to comment.