| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php namespace Arcanedev\LaravelImpersonator\Exceptions; |
||
| 47 | 2 | public static function cannotImpersonate(Impersonatable $impersonater): self |
|
| 48 | { |
||
| 49 | 2 | return static::make( |
|
| 50 | 2 | "The impersonater with `{$impersonater->getAuthIdentifierName()}`=[{$impersonater->getAuthIdentifier()}] doesn't have the ability to impersonate." |
|
| 51 | ); |
||
| 52 | } |
||
| 53 | |||
| 68 |