Skip to content

Commit

Permalink
Fix code styling
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald authored and github-actions[bot] committed Mar 4, 2024
1 parent 97e57db commit 07560f4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Drivers/ArrayDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Laravel\Pennant\Feature;
use stdClass;

class ArrayDriver implements Driver, CanListStoredFeatures
class ArrayDriver implements CanListStoredFeatures, Driver
{
/**
* The event dispatcher.
Expand Down
2 changes: 1 addition & 1 deletion src/Drivers/DatabaseDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Laravel\Pennant\Feature;
use stdClass;

class DatabaseDriver implements Driver, CanListStoredFeatures
class DatabaseDriver implements CanListStoredFeatures, Driver
{
/**
* The database connection.
Expand Down
2 changes: 1 addition & 1 deletion src/Drivers/Decorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
/**
* @mixin \Laravel\Pennant\PendingScopedFeatureInteraction
*/
class Decorator implements DriverContract, CanListStoredFeatures
class Decorator implements CanListStoredFeatures, DriverContract
{
use Macroable {
__call as macroCall;
Expand Down
4 changes: 2 additions & 2 deletions tests/Feature/PurgeCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public function test_it_can_combine_except_and_features_as_arguments()
'updated_at' => now()->toDateTimeString(),
]);

$this->artisan('pennant:purge foo bar --except=bar')->expectsOutputToContain('foo successfully purged from storage.');;
$this->artisan('pennant:purge foo bar --except=bar')->expectsOutputToContain('foo successfully purged from storage.');

$this->assertSame(['bar', 'baz'], DB::table('features')->pluck('name')->all());
}
Expand Down Expand Up @@ -187,7 +187,7 @@ public function test_it_can_purge_features_except_those_registered()
'updated_at' => now()->toDateTimeString(),
]);

$this->artisan('pennant:purge --except-registered')->expectsOutputToContain('bar, baz successfully purged from storage.');;
$this->artisan('pennant:purge --except-registered')->expectsOutputToContain('bar, baz successfully purged from storage.');

$this->assertSame(['foo'], DB::table('features')->pluck('name')->all());
}
Expand Down

0 comments on commit 07560f4

Please sign in to comment.