| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | public function __construct($identifier, $name, $redirectUri, $userType, $isConfidential = false) |
||
| 40 | { |
||
| 41 | $this->setIdentifier((string) $identifier); |
||
| 42 | |||
| 43 | $this->name = $name; |
||
| 44 | $this->userType = $userType; |
||
| 45 | $this->isConfidential = $isConfidential; |
||
| 46 | $this->redirectUri = explode(',', $redirectUri); |
||
| 47 | } |
||
| 48 | |||
| 71 |
Adding a
@returnannotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.