Code style fixes

This commit is contained in:
Damian Mooyman 2017-09-28 09:54:29 +13:00
parent 3a7c8fd0d7
commit e4fd9b4ff7
No known key found for this signature in database
GPG Key ID: 78B823A10DE27D1A
4 changed files with 3 additions and 6 deletions

View File

@ -136,7 +136,7 @@ class ContentNegotiator
}
$negotiator = new ContentNegotiator();
$negotiator->$chosenFormat( $response );
$negotiator->$chosenFormat($response);
}
/**

View File

@ -15,4 +15,4 @@ class TestController extends Controller
{
return Controller::join_links('TestController', $action);
}
}
}

View File

@ -64,5 +64,4 @@ class RateLimitMiddlewareTest extends FunctionalTest
$this->assertEquals(60, $response->getHeader('retry-after'));
$this->assertNotEquals('Success', $response->getBody());
}
}

View File

@ -60,7 +60,6 @@ class RateLimiterTest extends SapphireTest
$this->assertEquals(0, $rateLimiter->getNumAttemptsRemaining());
$rateLimiter->hit();
$this->assertEquals(0, $rateLimiter->getNumAttemptsRemaining());
}
public function testGetTimeToReset()
@ -125,5 +124,4 @@ class RateLimiterTest extends SapphireTest
$rateLimiter->hit();
$this->assertFalse($rateLimiter->canAccess());
}
}
}