Skip to content

Commit

Permalink
Code style update
Browse files Browse the repository at this point in the history
  • Loading branch information
jenssegers committed Feb 24, 2017
1 parent 2c9ca0a commit c53d1eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/AgentServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

class AgentServiceProvider extends ServiceProvider
{

/**
* Indicates if loading of the provider is deferred.
*
Expand Down
1 change: 0 additions & 1 deletion src/Facades/Agent.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

class Agent extends Facade
{

/**
* Get the registered name of the component.
*
Expand Down
8 changes: 4 additions & 4 deletions tests/AgentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function testOperatingSystems()
$this->assertEquals($platform, $agent->platform(), $ua);
$this->assertTrue($agent->is($platform), $platform);

if (!strpos($platform, ' ')) {
if (! strpos($platform, ' ')) {
$method = "is{$platform}";
$this->assertTrue($agent->{$method}(), $ua);
}
Expand All @@ -136,7 +136,7 @@ public function testBrowsers()
$this->assertEquals($browser, $agent->browser(), $ua);
$this->assertTrue($agent->is($browser), $browser);

if (!strpos($browser, ' ')) {
if (! strpos($browser, ' ')) {
$method = "is{$browser}";
$this->assertTrue($agent->{$method}(), $ua);
}
Expand Down Expand Up @@ -164,7 +164,7 @@ public function testMobileDevices()
$this->assertTrue($agent->isMobile(), $ua);
$this->assertFalse($agent->isDesktop(), $ua);

if (!strpos($device, ' ')) {
if (! strpos($device, ' ')) {
$method = "is{$device}";
$this->assertTrue($agent->{$method}(), $ua, $method);
}
Expand All @@ -181,7 +181,7 @@ public function testDesktopDevices()
$this->assertFalse($agent->isMobile(), $ua);
$this->assertTrue($agent->isDesktop(), $ua);

if (!strpos($device, ' ')) {
if (! strpos($device, ' ')) {
$method = "is{$device}";
$this->assertTrue($agent->{$method}(), $ua, $method);
}
Expand Down

0 comments on commit c53d1eb

Please sign in to comment.