| 1 | <?php |
||
| 16 | class CustomerAttribute extends Base |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var int |
||
| 20 | */ |
||
| 21 | protected $id; |
||
| 22 | /** |
||
| 23 | * @var int |
||
| 24 | */ |
||
| 25 | protected $customerId; |
||
| 26 | /** |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | protected $stripeCustomerId; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return int |
||
| 33 | */ |
||
| 34 | public function getId() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param int $id |
||
| 41 | * |
||
| 42 | * @return CustomerAttribute |
||
| 43 | */ |
||
| 44 | public function setId($id) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return int |
||
| 53 | */ |
||
| 54 | public function getCustomerId() |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @param int $customerId |
||
| 61 | * |
||
| 62 | * @return CustomerAttribute |
||
| 63 | */ |
||
| 64 | public function setCustomerId($customerId) |
||
| 70 | |||
| 71 | /** |
||
| 72 | * @return int |
||
| 73 | */ |
||
| 74 | public function getStripeCustomerId() |
||
| 78 | |||
| 79 | /** |
||
| 80 | * @param int $stripeCustomerId |
||
| 81 | * |
||
| 82 | * @return CustomerAttribute |
||
| 83 | */ |
||
| 84 | public function setStripeCustomerId($stripeCustomerId) |
||
| 90 | } |
||
| 91 |
This check looks for assignments to scalar types that may be of the wrong type.
To ensure the code behaves as expected, it may be a good idea to add an explicit type cast.