| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function __construct($gender = null) |
||
|
|
|||
| 19 | { |
||
| 20 | $addresses = Dictionary::create()->addresses; |
||
| 21 | $prefecture = $this->samplePrefecture($addresses->prefecture); |
||
| 22 | $city = $this->sampleCity($addresses->city); |
||
| 23 | $town = $this->sampleTown($addresses->town); |
||
| 24 | |||
| 25 | $this->prefecture = $prefecture; |
||
| 26 | $this->city = $city; |
||
| 27 | $this->town = $town; |
||
| 28 | $this->kanji = "{$prefecture->kanji}{$city->kanji}{$town->kanji}"; |
||
| 29 | $this->hiragana = "{$prefecture->hiragana}{$city->hiragana}{$town->hiragana}"; |
||
| 30 | $this->katakana = "{$prefecture->katakana}{$city->katakana}{$town->katakana}"; |
||
| 31 | } |
||
| 32 | |||
| 54 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.