Skip to content

Commit

Permalink
Apply fixes from StyleCI (#20764)
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored Aug 25, 2017
1 parent d0512e4 commit 27e8438
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,6 @@ protected function tooManyAttempts($key, $maxAttempts, $decayMinutes)

$this->remaining = $limiter->remaining;

return !$attempt;
return ! $attempt;
}
}
2 changes: 1 addition & 1 deletion tests/Integration/Http/ThrottleRequestsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function setup()
public function test_lock_opens_immediately_after_decay()
{
Carbon::setTestNow(null);

Route::get('/', function () {
return 'yes';
})->middleware(ThrottleRequests::class.':2,1');
Expand Down

0 comments on commit 27e8438

Please sign in to comment.