Conditions | 4 |
Paths | 3 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
28 | public function getDefaultValue( $event ) |
||
1 ignored issue
–
show
|
|||
29 | { |
||
30 | $owner = $this->owner; |
||
31 | if ($owner->hasAttribute($this->lockedAttribute)) |
||
32 | if (empty($owner->{$this->lockedAttribute}) || is_null($owner->{$this->lockedAttribute})) |
||
33 | $owner->{$this->lockedAttribute} = $this->valueUnlock; |
||
34 | } |
||
35 | |||
53 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.