Skip to content

Commit

Permalink
nitpick
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Mar 1, 2018
1 parent 71105f7 commit 894d659
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/CrawlQueueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

class CrawlQueueTest extends TestCase
{
/**
* @var \Spatie\Crawler\CrawlQueue\CollectionCrawlQueue
*/
/** @var \Spatie\Crawler\CrawlQueue\CollectionCrawlQueue */
protected $crawlQueue;

public function setUp()
Expand Down Expand Up @@ -97,6 +95,7 @@ public function it_can_remove_all_processed_urls_from_the_pending_urls()
$this->crawlQueue->markAsProcessed($crawlUrl1);

$pendingUrlCount = 0;

while ($url = $this->crawlQueue->getFirstPendingUrl()) {
$pendingUrlCount++;
$this->crawlQueue->markAsProcessed($url);
Expand Down

0 comments on commit 894d659

Please sign in to comment.