| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | public function init() |
||
| 36 | { |
||
| 37 | $this->setName('jobs-form-preview'); |
||
| 38 | $this->setAttributes( |
||
| 39 | array( |
||
| 40 | 'id' => 'jobs-form-preview', |
||
| 41 | //'data-handle-by' => 'native' |
||
| 42 | ) |
||
| 43 | ); |
||
| 44 | |||
| 45 | |||
| 46 | $this->add( |
||
| 47 | array( |
||
| 48 | 'type' => 'Jobs/PreviewFieldset', |
||
| 49 | 'name' => 'jobPreview', |
||
| 50 | 'options' => array( |
||
| 51 | 'use_as_base_fieldset' => true, |
||
| 52 | ), |
||
| 77 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.