From 2890d9c2480e1d2c25008907aafcb5688575a03a Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 17 Nov 2021 20:41:37 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- src/AbTesting.php | 2 +- tests/PageViewTest.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/AbTesting.php b/src/AbTesting.php index 5b26a30..2d96a1f 100644 --- a/src/AbTesting.php +++ b/src/AbTesting.php @@ -125,7 +125,7 @@ public function isExperiment(string $name) { $this->pageView(); - if (!$experiment = $this->getExperiment()) { + if (! $experiment = $this->getExperiment()) { return false; } diff --git a/tests/PageViewTest.php b/tests/PageViewTest.php index 40d2a04..6207563 100644 --- a/tests/PageViewTest.php +++ b/tests/PageViewTest.php @@ -7,7 +7,6 @@ use Ben182\AbTesting\Events\ExperimentNewVisitor; use Illuminate\Support\Facades\Blade; use Illuminate\Support\Facades\Event; -use Jaybizzle\CrawlerDetect\CrawlerDetect; class PageViewTest extends TestCase {