Completed
Pull Request — develop (#9)
by
unknown
05:58 queued 03:18
created
src/Document/Archive.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
 
76 76
     /**
77 77
      * Validation constraints for fields
78
-     * @return array
78
+     * @return Assert\Collection
79 79
      */
80 80
     public function getValidationConstraints()
81 81
     {
Please login to merge, or discard this patch.
src/Login/Sc.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     private $certificate;
13 13
 
14 14
     /**
15
-     * @param $certificate string base64_encode(certificate)
15
+     * @param string $certificate string base64_encode(certificate)
16 16
      */
17 17
     public function __construct($certificate)
18 18
     {
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 
42 42
     /**
43 43
      * Result object for this query result
44
-     * @return MobileResult
44
+     * @return ScResult
45 45
      */
46 46
     public function createResult()
47 47
     {
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
     /**
52 52
      * Validation constraints for fields
53
-     * @return array
53
+     * @return Assert\Collection
54 54
      */
55 55
     public function getValidationConstraints()
56 56
     {
Please login to merge, or discard this patch.
src/Login/ScVerify.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,6 +15,10 @@  discard block
 block discarded – undo
15 15
     /** @var string User signed value */
16 16
     private $signatureValue;
17 17
 
18
+    /**
19
+     * @param string $token
20
+     * @param string $signatureValue
21
+     */
18 22
     public function __construct($token, $signatureValue)
19 23
     {
20 24
         $this->token = $token;
@@ -53,7 +57,7 @@  discard block
 block discarded – undo
53 57
 
54 58
     /**
55 59
      * Validation constraints for fields
56
-     * @return array
60
+     * @return Assert\Collection
57 61
      */
58 62
     public function getValidationConstraints()
59 63
     {
Please login to merge, or discard this patch.
src/Sign/Sc.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
     private $signatureValue;
17 17
 
18 18
     /**
19
-     * @param $token string Session token received from /sc/prepare call
20
-     * @param $signatureValue string Signature value
19
+     * @param string $token string Session token received from /sc/prepare call
20
+     * @param string $signatureValue string Signature value
21 21
      */
22 22
     public function __construct($token, $signatureValue)
23 23
     {
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
     /**
57 57
      * Result object for this query result
58
-     * @return MobileStatusResult
58
+     * @return ScResult
59 59
      */
60 60
     public function createResult()
61 61
     {
Please login to merge, or discard this patch.
src/Sign/ScPrepare.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,10 +28,10 @@  discard block
 block discarded – undo
28 28
     private $document;
29 29
 
30 30
     /**
31
-     * @param $certificate string base64_encode(certificate)
32
-     * @param $type string document type
33
-     * @param $timestamp boolean add document timestamp
34
-     * @param $language string language LT|EN
31
+     * @param null|string $certificate string base64_encode(certificate)
32
+     * @param null|string $type string document type
33
+     * @param null|false $timestamp boolean add document timestamp
34
+     * @param null|string $language string language LT|EN
35 35
      * @param $document array document to be signed
36 36
      */
37 37
     public function __construct($certificate, $type, $timestamp, $language, array $document)
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
     /**
86 86
      * Validation constraints for fields
87
-     * @return array
87
+     * @return Assert\Collection
88 88
      */
89 89
     public function getValidationConstraints()
90 90
     {
Please login to merge, or discard this patch.
tests/Http/GuzzleClientAdapterTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use GuzzleHttp\Exception\ClientException;
5 5
 use Isign\Http\GuzzleClientAdapter;
6
-use Psr\Log\LoggerAwareInterface;
7 6
 
8 7
 class GuzzleClientAdapterTest extends \PHPUnit_Framework_TestCase
9 8
 {
Please login to merge, or discard this patch.
src/Document/Check.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     /** @var string Possible values: pdf, adoc, mdoc */
22 22
     private $type;
23 23
 
24
-     /** @var string file path */
24
+        /** @var string file path */
25 25
     private $path;
26 26
 
27 27
     /**
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
 
76 76
     /**
77 77
      * Validation constraints for fields
78
-     * @return array
78
+     * @return Assert\Collection
79 79
      */
80 80
     public function getValidationConstraints()
81 81
     {
Please login to merge, or discard this patch.
tests/Integration/MobileSignTest.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
             'reason' => 'Dokumento asirašymas',
89 89
             'location' => 'Vilnius',
90 90
             'files' => [
91
-               __DIR__ . '/../data/document.pdf',
91
+                __DIR__ . '/../data/document.pdf',
92 92
             ]
93 93
         ];
94 94
     }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
             'reason' => 'Dokumento asirašymas',
89 89
             'location' => 'Vilnius',
90 90
             'files' => [
91
-               __DIR__ . '/../data/document.pdf',
91
+               __DIR__.'/../data/document.pdf',
92 92
             ]
93 93
         ];
94 94
     }
Please login to merge, or discard this patch.
tests/Integration/ScSignTest.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
 class ScSignTest extends TestCase
11 11
 {
12 12
     /**
13
-    * @expectedException Isign\Exception\QueryValidator
14
-    */
13
+     * @expectedException Isign\Exception\QueryValidator
14
+     */
15 15
     public function testRequiredParams()
16 16
     {
17 17
         $this->client->get(new ScPrepare(
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Isign\Sign\Sc;
7 7
 use Isign\Sign\ScPrepare;
8 8
 use Isign\Sign\ScPrepareResult;
9
-use Isign\StatusResultInterface;
10 9
 
11 10
 class ScSignTest extends TestCase
12 11
 {
Please login to merge, or discard this patch.