VerificationCodeResponse   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 5
c 1
b 0
f 1
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace Rezahmady\Smsir\Responses;
4
5
class VerificationCodeResponse extends BaseResponse
6
{
7
    /**
8
     * @var string
9
     */
10
    public $verificationCodeId;
11
12
    public function __construct(bool $isSuccessful, string $message, string $verificationCodeId)
13
    {
14
        $this->isSuccessful = $isSuccessful;
15
        $this->message = $message;
16
        $this->verificationCodeId = $verificationCodeId;
17
    }
18
}
19