Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1 from appstract/analysis-XlkQRd
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
ovanschie authored Apr 15, 2018
2 parents 92ff112 + 1b5e498 commit 42a7dec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/Commands/Crawl.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

class Crawl extends Command
{

/**
* The console command name.
*
Expand Down
3 changes: 1 addition & 2 deletions src/CrawlObserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@

use Storage;
use Psr\Http\Message\UriInterface;
use Psr\Http\Message\ResponseInterface;
use Spatie\Browsershot\Browsershot;
use Psr\Http\Message\ResponseInterface;
use GuzzleHttp\Exception\RequestException;
use Symfony\Component\Console\Output\OutputInterface;

class CrawlObserver extends \Spatie\Crawler\CrawlObserver
{

protected $consoleOutput;

public function __construct(OutputInterface $consoleOutput)
Expand Down
4 changes: 2 additions & 2 deletions src/Middleware/CrawlerPrerenderMiddleware.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

namespace Appstract\CrawlRender\Middleware;

use Closure;
Expand All @@ -7,7 +8,6 @@

class CrawlerPrerenderMiddleware
{

/**
* @param $request
* @param Closure $next
Expand Down Expand Up @@ -51,4 +51,4 @@ protected function getPrerenderedView($path)
{
return Storage::disk('local')->get('prerendered'.$path.'/dom.html');
}
}
}

0 comments on commit 42a7dec

Please sign in to comment.