Conditions | 4 |
Paths | 4 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
25 | private function getClassList() { |
||
26 | $classes = array(); |
||
27 | foreach (ClassInfo::subclassesFor('DataObject') as $class => $file) { |
||
28 | $extensions = Config::inst()->get($class, 'extensions'); |
||
29 | if (!is_null($extensions)) { |
||
30 | if (in_array(get_class($this), $extensions)) { |
||
31 | $classes[] = $class; |
||
32 | } |
||
33 | } |
||
34 | } |
||
35 | return $classes; |
||
36 | } |
||
37 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.