| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | protected function replaceUserNamespace($stub) |
||
| 21 | { |
||
| 22 | if (! $userModel = config('auth.providers.'.config('auth.guards.'.config('auth.defaults.guard').'.provider').'.model')) { |
||
|
|
|||
| 23 | return $stub; |
||
| 24 | } |
||
| 25 | |||
| 26 | return str_replace( |
||
| 27 | $this->rootNamespace().'User', |
||
| 28 | $userModel, |
||
| 29 | $stub |
||
| 30 | ); |
||
| 31 | } |
||
| 32 | } |
||
| 33 |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.