Skip to content

Commit

Permalink
Cleaning some extraneous whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Rican7 committed Nov 10, 2014
1 parent df22b38 commit f44943a
Show file tree
Hide file tree
Showing 17 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion src/Klein/App.php
Expand Up @@ -16,7 +16,7 @@
use Klein\Exceptions\UnknownServiceException;

/**
* App
* App
*/
class App
{
Expand Down
2 changes: 1 addition & 1 deletion src/Klein/Exceptions/DispatchHaltedException.php
Expand Up @@ -72,7 +72,7 @@ public function getNumberOfSkips()
{
return $this->number_of_skips;
}

/**
* Sets the number of matches to skip on a "next" skip
*
Expand Down
2 changes: 1 addition & 1 deletion src/Klein/Exceptions/ValidationException.php
Expand Up @@ -14,7 +14,7 @@
use UnexpectedValueException;

/**
* ValidationException
* ValidationException
*
* Exception used for Validation errors
*/
Expand Down
10 changes: 5 additions & 5 deletions src/Klein/HttpStatus.php
Expand Up @@ -12,7 +12,7 @@
namespace Klein;

/**
* HttpStatus
* HttpStatus
*
* HTTP status code and message translator
*/
Expand Down Expand Up @@ -133,7 +133,7 @@ public function getMessage()
/**
* Set the HTTP status code
*
* @param int $code
* @param int $code
* @return HttpStatus
*/
public function setCode($code)
Expand All @@ -145,7 +145,7 @@ public function setCode($code)
/**
* Set the HTTP status message
*
* @param string $message
* @param string $message
* @return HttpStatus
*/
public function setMessage($message)
Expand All @@ -156,7 +156,7 @@ public function setMessage($message)

/**
* Get a string representation of our HTTP status
*
*
* @return string
*/
public function getFormattedString()
Expand Down Expand Up @@ -190,7 +190,7 @@ public function __toString()
* Returns null if no corresponding message was
* found for the passed in code
*
* @param int $int
* @param int $int
* @return string|null
*/
public static function getMessageFromCode($int)
Expand Down
2 changes: 1 addition & 1 deletion src/Klein/Request.php
Expand Up @@ -427,7 +427,7 @@ public function pathname()
* $request->method('post') // returns true
* $request->method('get') // returns false
* </code>
*
*
* @param string $is The method to check the current request method against
* @param boolean $allow_override Whether or not to allow HTTP method overriding via header or params
* @return string|boolean
Expand Down
2 changes: 1 addition & 1 deletion src/Klein/Response.php
Expand Up @@ -12,7 +12,7 @@
namespace Klein;

/**
* Response
* Response
*/
class Response extends AbstractResponse
{
Expand Down
14 changes: 7 additions & 7 deletions src/Klein/ResponseCookie.php
Expand Up @@ -122,7 +122,7 @@ public function getName()
{
return $this->name;
}

/**
* Sets the cookie's name
*
Expand All @@ -145,7 +145,7 @@ public function getValue()
{
return $this->value;
}

/**
* Sets the cookie's value
*
Expand All @@ -172,7 +172,7 @@ public function getExpire()
{
return $this->expire;
}

/**
* Sets the cookie's expire time
*
Expand Down Expand Up @@ -202,7 +202,7 @@ public function getPath()
{
return $this->path;
}

/**
* Sets the cookie's path
*
Expand All @@ -229,7 +229,7 @@ public function getDomain()
{
return $this->domain;
}

/**
* Sets the cookie's domain
*
Expand All @@ -256,7 +256,7 @@ public function getSecure()
{
return $this->secure;
}

/**
* Sets the cookie's secure only flag
*
Expand All @@ -279,7 +279,7 @@ public function getHttpOnly()
{
return $this->http_only;
}

/**
* Sets the cookie's HTTP only flag
*
Expand Down
10 changes: 5 additions & 5 deletions src/Klein/Route.php
Expand Up @@ -110,7 +110,7 @@ public function getCallback()
{
return $this->callback;
}

/**
* Set the callback
*
Expand Down Expand Up @@ -138,7 +138,7 @@ public function getPath()
{
return $this->path;
}

/**
* Set the path
*
Expand All @@ -161,7 +161,7 @@ public function getMethod()
{
return $this->method;
}

/**
* Set the method
*
Expand Down Expand Up @@ -190,7 +190,7 @@ public function getCountMatch()
{
return $this->count_match;
}

/**
* Set the count_match
*
Expand All @@ -213,7 +213,7 @@ public function getName()
{
return $this->name;
}

/**
* Set the name
*
Expand Down
2 changes: 1 addition & 1 deletion src/Klein/ServiceProvider.php
Expand Up @@ -14,7 +14,7 @@
use Klein\DataCollection\DataCollection;

/**
* ServiceProvider
* ServiceProvider
*
* Service provider class for handling logic extending between
* a request's data and a response's behavior
Expand Down
8 changes: 4 additions & 4 deletions tests/Klein/Tests/AbstractKleinTest.php
Expand Up @@ -28,7 +28,7 @@ abstract class AbstractKleinTest extends PHPUnit_Framework_TestCase
/**
* The automatically created test Klein instance
* (for easy testing and less boilerplate)
*
*
* @type Klein
*/
protected $klein_app;
Expand All @@ -37,7 +37,7 @@ abstract class AbstractKleinTest extends PHPUnit_Framework_TestCase
/**
* Setup our test
* (runs before each test)
*
*
* @return void
*/
protected function setUp()
Expand Down Expand Up @@ -70,7 +70,7 @@ protected function dispatchAndReturnOutput($request = null, $response = null)
/**
* Runs a callable and asserts that the output from the executed callable
* matches the passed in expected output
*
*
* @param mixed $expected The expected output
* @param callable $callback The callable function
* @param string $message (optional) A message to display if the assertion fails
Expand All @@ -95,7 +95,7 @@ protected function assertOutputSame($expected, $callback, $message = '')

/**
* Loads externally defined routes under the filename's namespace
*
*
* @param Klein $app_context The application context to attach the routes to
* @return array
*/
Expand Down
Expand Up @@ -16,7 +16,7 @@
use Klein\Tests\AbstractKleinTest;

/**
* ResponseCookieDataCollectionTest
* ResponseCookieDataCollectionTest
*/
class ResponseCookieDataCollectionTest extends AbstractKleinTest
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Klein/Tests/HttpStatusTest.php
Expand Up @@ -14,7 +14,7 @@
use Klein\HttpStatus;

/**
* HttpStatusTests
* HttpStatusTests
*/
class HttpStatusTests extends AbstractKleinTest
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Klein/Tests/KleinTest.php
Expand Up @@ -25,7 +25,7 @@
use OutOfBoundsException;

/**
* KleinTest
* KleinTest
*/
class KleinTest extends AbstractKleinTest
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Klein/Tests/Mocks/MockRequestFactory.php
Expand Up @@ -14,7 +14,7 @@
use Klein\Request;

/**
* MockRequestFactory
* MockRequestFactory
*
* Allow for the simple creation of mock requests
* (great for testing... ;))
Expand Down
2 changes: 1 addition & 1 deletion tests/Klein/Tests/ResponseTest.php
Expand Up @@ -21,7 +21,7 @@
use Klein\Tests\Mocks\MockRequestFactory;

/**
* ResponsesTest
* ResponsesTest
*/
class ResponsesTest extends AbstractKleinTest
{
Expand Down
6 changes: 3 additions & 3 deletions tests/Klein/Tests/ServiceProviderTest.php
Expand Up @@ -349,7 +349,7 @@ public function testRender()
'title' => 'about',
'verb' => 'woot',
);

$this->klein_app->respond(
function ($request, $response, $service) use ($test_data) {
// Set some data manually
Expand Down Expand Up @@ -386,7 +386,7 @@ public function testRenderChunked()

$response = new Response();
$response->chunk();

$this->klein_app->respond(
function ($request, $response, $service) use ($test_data) {
// Set some data manually
Expand Down Expand Up @@ -420,7 +420,7 @@ public function testPartial()
'title' => 'about',
'verb' => 'woot',
);

$this->klein_app->respond(
function ($request, $response, $service) use ($test_data) {
// Set our layout
Expand Down
2 changes: 1 addition & 1 deletion tests/Klein/Tests/ValidationsTest.php
Expand Up @@ -19,7 +19,7 @@
use Klein\Validator;

/**
* ValidationsTest
* ValidationsTest
*/
class ValidationsTest extends AbstractKleinTest
{
Expand Down

0 comments on commit f44943a

Please sign in to comment.