Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 11 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
50 | View Code Duplication | protected function isOK() |
|
51 | { |
||
52 | if (!is_array($this->value)) { |
||
53 | throw new \InvalidArgumentException( |
||
54 | 'The provided value for ' . __CLASS__ . ' must be an array of type xsNMTOKEN.' |
||
55 | ); |
||
56 | } |
||
57 | foreach ($this->value as $v) { |
||
58 | $v->isOKInternal(); |
||
59 | } |
||
60 | } |
||
61 | } |
||
62 |
This check looks for method names that are not written in camelCase.
In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes
databaseConnectionSeeker
.