Completed
Push — master ( 46a71e...cf5726 )
by Saurabh
01:52
created
src/Http/Controllers/Controller.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Sausin\Signere\Http\Controllers;
4 4
 
5
-use Sausin\Signere\Http\Middleware\Authenticate;
6
-use Illuminate\Routing\Controller as BaseController;
7 5
 use Illuminate\Foundation\Validation\ValidatesRequests;
6
+use Illuminate\Routing\Controller as BaseController;
7
+use Sausin\Signere\Http\Middleware\Authenticate;
8 8
 
9 9
 class Controller extends BaseController
10 10
 {
Please login to merge, or discard this patch.
src/Http/Controllers/RequestIdController.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace Sausin\Signere\Http\Controllers;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-use Sausin\Signere\RequestId;
7 6
 use Illuminate\Support\Facades\Config;
7
+use Sausin\Signere\RequestId;
8 8
 
9 9
 class RequestIdController extends Controller
10 10
 {
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * Check if a SignereID session is completed or not.
29 29
      *
30 30
      * @param  string $requestId
31
-     * @return \Illuminate\Http\Response
31
+     * @return string
32 32
      */
33 33
     public function show(string $requestId)
34 34
     {
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      * Creates a SignereID request, and returns a url.
42 42
      *
43 43
      * @param  Request $request
44
-     * @return \Illuminate\Http\Response
44
+     * @return string
45 45
      */
46 46
     public function store(Request $request)
47 47
     {
Please login to merge, or discard this patch.
src/Http/Controllers/Admin/InvoiceController.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Sausin\Signere\Http\Controllers\Admin;
4 4
 
5
-use Sausin\Signere\Invoice;
6 5
 use Sausin\Signere\Http\Controllers\Controller;
6
+use Sausin\Signere\Invoice;
7 7
 
8 8
 class InvoiceController extends Controller
9 9
 {
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      *
29 29
      * @param  int    $year
30 30
      * @param  int    $month
31
-     * @return \Illuminate\Http\Response
31
+     * @return string
32 32
      */
33 33
     public function __invoke(int $year, int $month)
34 34
     {
Please login to merge, or discard this patch.
src/Http/Controllers/Admin/PrimaryKeyRenewalController.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Sausin\Signere\Http\Controllers\Admin;
4 4
 
5
-use Sausin\Signere\ApiKey;
6 5
 use Illuminate\Support\Facades\Config;
6
+use Sausin\Signere\ApiKey;
7 7
 use Sausin\Signere\Http\Controllers\Controller;
8 8
 
9 9
 class PrimaryKeyRenewalController extends Controller
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     /**
28 28
      * Renew the primary key.
29 29
      *
30
-     * @return \Illuminate\Http\Response
30
+     * @return string
31 31
      */
32 32
     public function __invoke()
33 33
     {
Please login to merge, or discard this patch.
src/Http/Controllers/Admin/RequestIdController.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace Sausin\Signere\Http\Controllers\Admin;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-use Sausin\Signere\RequestId;
7 6
 use Sausin\Signere\Http\Controllers\Controller;
7
+use Sausin\Signere\RequestId;
8 8
 
9 9
 class RequestIdController extends Controller
10 10
 {
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      * Retrives a SignereID session to get the
29 29
      * information about the authorized user.
30 30
      *
31
-     * @return \Illuminate\Http\Response
31
+     * @return string
32 32
      */
33 33
     public function __invoke(Request $request)
34 34
     {
Please login to merge, or discard this patch.
src/Http/Controllers/Admin/StatusController.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Sausin\Signere\Http\Controllers\Admin;
4 4
 
5
-use Sausin\Signere\Status;
6 5
 use Sausin\Signere\Http\Controllers\Controller;
6
+use Sausin\Signere\Status;
7 7
 
8 8
 class StatusController extends Controller
9 9
 {
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * Returns the UTC time of the Signere server.
28 28
      *
29
-     * @return \Illuminate\Http\Response
29
+     * @return string
30 30
      */
31 31
     public function index()
32 32
     {
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      * Check if Signere service is operational.
40 40
      *
41 41
      * @param  string $message
42
-     * @return \Illuminate\Http\Response
42
+     * @return string
43 43
      */
44 44
     public function show(string $message)
45 45
     {
Please login to merge, or discard this patch.
src/Http/Controllers/Admin/DocumentFileController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      * Returns the signed pdf document as a file.
30 30
      *
31 31
      * @param  string $documentId
32
-     * @return \Illuminate\Http\Response
32
+     * @return string
33 33
      */
34 34
     public function show(string $documentId)
35 35
     {
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      * Creates a temporary url to a document.
43 43
      *
44 44
      * @param  Request $request
45
-     * @return \Illuminate\Http\Response
45
+     * @return string
46 46
      */
47 47
     public function store(Request $request)
48 48
     {
Please login to merge, or discard this patch.
src/Http/Controllers/Admin/DocumentJobController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      * object containing the document job parameters.
30 30
      *
31 31
      * @param  string $jobId
32
-     * @return \Illuminate\Http\Response
32
+     * @return string
33 33
      */
34 34
     public function show(string $jobId)
35 35
     {
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      * object containing the document job parameters.
44 44
      *
45 45
      * @param  Request $request
46
-     * @return \Illuminate\Http\Response
46
+     * @return string
47 47
      */
48 48
     public function store(Request $request)
49 49
     {
Please login to merge, or discard this patch.
src/Http/Controllers/Admin/DocumentProviderCertificateController.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,7 @@
 block discarded – undo
27 27
     /**
28 28
      * Gets the expires date for your BankID certificate.
29 29
      *
30
-     * @param  Request $request
31
-     * @return \Illuminate\Http\Response
30
+     * @return string
32 31
      */
33 32
     public function __invoke()
34 33
     {
Please login to merge, or discard this patch.