-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Amir Hossein Baghaie <amirbagh75@users.noreply.github.com> Apply psr-12
- Loading branch information
Amir Hossein Baghaie
authored
Nov 20, 2020
1 parent
9a3ae86
commit ad5fd31
Showing
11 changed files
with
74 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
<?php | ||
|
||
|
||
namespace Amirbagh75\SMSIR\Responses; | ||
|
||
|
||
class ReceivedMessagesResponse extends BaseResponse | ||
{ | ||
/** | ||
* @var int | ||
*/ | ||
public $countOfAll; | ||
|
||
/** | ||
* @var ReceivedMessage[] | ||
*/ | ||
public $receivedMessage; | ||
|
||
public function __construct(bool $isSuccessful, string $message, int $countOfAll, array $receivedMessage) | ||
{ | ||
$this->isSuccessful = $isSuccessful; | ||
$this->message = $message; | ||
$this->countOfAll = $countOfAll; | ||
$this->receivedMessage = $receivedMessage; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
<?php | ||
|
||
|
||
namespace Amirbagh75\SMSIR\Responses; | ||
|
||
|
||
class SentMessagesResponse extends BaseResponse | ||
{ | ||
/** | ||
* @var int | ||
*/ | ||
public $countOfAll; | ||
|
||
/** | ||
* @var Message[] | ||
*/ | ||
public $messages; | ||
|
||
public function __construct(bool $isSuccessful, string $message, int $countOfAll, array $messages) | ||
{ | ||
$this->isSuccessful = $isSuccessful; | ||
$this->message = $message; | ||
$this->countOfAll = $countOfAll; | ||
$this->messages = $messages; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
<?php | ||
|
||
|
||
namespace Amirbagh75\SMSIR\Responses; | ||
|
||
|
||
class VerificationCodeResponse extends BaseResponse | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public $verificationCodeId; | ||
|
||
public function __construct(bool $isSuccessful, string $message, string $verificationCodeId) | ||
{ | ||
$this->isSuccessful = $isSuccessful; | ||
$this->message = $message; | ||
$this->verificationCodeId = $verificationCodeId; | ||
} | ||
} | ||
} |
Oops, something went wrong.