| Total Complexity | 2 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class Session extends Model |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * The database table used by the model. |
||
| 24 | * |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | protected $table = 'saml2_sessions'; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * The attributes that are mass assignable. |
||
| 31 | * |
||
| 32 | * @var array |
||
| 33 | */ |
||
| 34 | protected $fillable = [ |
||
| 35 | 'idp_id', |
||
| 36 | 'payload', |
||
| 37 | ]; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * The attributes that should be cast to native types. |
||
| 41 | * |
||
| 42 | * @var array |
||
| 43 | */ |
||
| 44 | protected $casts = [ |
||
| 45 | 'payload' => 'array' |
||
| 46 | ]; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * The user model. |
||
| 50 | * |
||
| 51 | * @return BelongsTo |
||
| 52 | */ |
||
| 53 | public function user(): BelongsTo |
||
| 56 | } |
||
| 57 | |||
| 58 | /** |
||
| 59 | * The tenant model (identity provider). |
||
| 60 | * |
||
| 61 | * @return HasOne |
||
| 62 | */ |
||
| 63 | public function tenant(): HasOne |
||
| 68 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths