| Conditions | 4 |
| Paths | 8 |
| Total Lines | 17 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Anomaly\UsersModule\User\Password\Command; |
||
| 38 | public function handle(Repository $config) |
||
|
|
|||
| 39 | { |
||
| 40 | if (!$this->builder->getOption('redirect')) { |
||
| 41 | $this->builder->setOption('redirect', '/'); |
||
| 42 | } |
||
| 43 | |||
| 44 | if (!$this->builder->getOption('success_message')) { |
||
| 45 | $this->builder->setOption( |
||
| 46 | 'success_message', |
||
| 47 | 'You are now logged in.' |
||
| 48 | ); |
||
| 49 | } |
||
| 50 | |||
| 51 | if (!$this->builder->getOption('container_class')) { |
||
| 52 | $this->builder->setOption('container_class', 'form-wrapper'); |
||
| 53 | } |
||
| 54 | } |
||
| 55 | |||
| 57 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.