diff --git a/Tests/BaseTest.php b/Tests/BaseTest.php index ea0e177..473fcdd 100644 --- a/Tests/BaseTest.php +++ b/Tests/BaseTest.php @@ -7,17 +7,17 @@ abstract class BaseTest extends TestCase { - /** - * getPrivateProperty + * getPrivateProperty. * * @author Joe Sexton * - * @param string $className - * @param string $propertyName + * @param string $className + * @param string $propertyName * - * @return \ReflectionProperty * @throws \ReflectionException + * + * @return \ReflectionProperty */ public function getPrivateProperty($className, $propertyName) { @@ -29,15 +29,16 @@ public function getPrivateProperty($className, $propertyName) } /** - * getPrivateMethod + * getPrivateMethod. * * @author Joe Sexton * - * @param string $className - * @param string $methodName + * @param string $className + * @param string $methodName + * + * @throws \ReflectionException * * @return \ReflectionMethod - * @throws \ReflectionException */ public function getPrivateMethod($className, $methodName) { @@ -49,12 +50,13 @@ public function getPrivateMethod($className, $methodName) } /** - * getConstants + * getConstants. * * @param string $className * - * @return array * @throws \ReflectionException + * + * @return array */ public function getConstants($className) { diff --git a/Tests/api/ResponseTest.php b/Tests/api/ResponseTest.php index 69e10d1..1d77783 100644 --- a/Tests/api/ResponseTest.php +++ b/Tests/api/ResponseTest.php @@ -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); }