mirror of
https://github.com/wiosna-dev/limesurvey-api-client.git
synced 2026-03-12 02:11:45 +01:00
Minor refactoring
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user