Skip to content

Commit

Permalink
Fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
cjonstrup committed Nov 1, 2018
1 parent 6050eb6 commit 1c3d945
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
24 changes: 13 additions & 11 deletions Tests/BaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@

abstract class BaseTest extends TestCase
{

/**
* getPrivateProperty
* getPrivateProperty.
*
* @author Joe Sexton <[email protected]>
*
* @param string $className
* @param string $propertyName
* @param string $className
* @param string $propertyName
*
* @return \ReflectionProperty
* @throws \ReflectionException
*
* @return \ReflectionProperty
*/
public function getPrivateProperty($className, $propertyName)
{
Expand All @@ -29,15 +29,16 @@ public function getPrivateProperty($className, $propertyName)
}

/**
* getPrivateMethod
* getPrivateMethod.
*
* @author Joe Sexton <[email protected]>
*
* @param string $className
* @param string $methodName
* @param string $className
* @param string $methodName
*
* @throws \ReflectionException
*
* @return \ReflectionMethod
* @throws \ReflectionException
*/
public function getPrivateMethod($className, $methodName)
{
Expand All @@ -49,12 +50,13 @@ public function getPrivateMethod($className, $methodName)
}

/**
* getConstants
* getConstants.
*
* @param string $className
*
* @return array
* @throws \ReflectionException
*
* @return array
*/
public function getConstants($className)
{
Expand Down
2 changes: 1 addition & 1 deletion Tests/api/ResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function testReturnOfResponseDataAsObjectAndJsonDecodeFails()
$property = $this->getPrivateProperty('Lenius\Economic\API\Response', 'response_data');
$property->setValue($response, 'test');

$responseObject= $response->asObject();
$responseObject = $response->asObject();

$this->assertCount(0, (array) $responseObject);
}
Expand Down

0 comments on commit 1c3d945

Please sign in to comment.