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