Minor refactoring

This commit is contained in:
Meritoo
2017-11-30 22:54:13 +01:00
parent ee62e9f148
commit c5498501d3
3 changed files with 3 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
"description": "Client of LimeSurvey API", "description": "Client of LimeSurvey API",
"type": "library", "type": "library",
"license": "MIT", "license": "MIT",
"version": "0.0.11", "version": "0.0.12",
"authors": [ "authors": [
{ {
"name": "Meritoo", "name": "Meritoo",

View File

@@ -77,6 +77,7 @@ class ConnectionConfiguration
* turned off. * turned off.
* @param bool $verifySslCertificate (optional) If is set to true, the SSL certificate verification is turned * @param bool $verifySslCertificate (optional) If is set to true, the SSL certificate verification is turned
* on. Otherwise - turned off. * on. Otherwise - turned off.
* @throws InvalidUrlException
*/ */
public function __construct($baseUrl, $username, $password, $debugMode = false, $verifySslCertificate = true) public function __construct($baseUrl, $username, $password, $debugMode = false, $verifySslCertificate = true)
{ {

View File

@@ -32,7 +32,7 @@ class SurveySummaryTest extends BaseTestCase
* @param array $rawData Raw data of survey's summary * @param array $rawData Raw data of survey's summary
* @dataProvider provideRawData * @dataProvider provideRawData
*/ */
public function testCreateOfTheSurveySummary($rawData) public function testCreateOfTheSurveySummary(array $rawData)
{ {
$processor = new ResultProcessor(); $processor = new ResultProcessor();
$processed = $processor->process(MethodType::GET_SUMMARY, $rawData); $processed = $processor->process(MethodType::GET_SUMMARY, $rawData);