| Total Complexity | 9 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class Client extends Model implements HasMedia |
||
| 13 | { |
||
| 14 | use LogsActivity, InteractsWithMedia; |
||
| 15 | |||
| 16 | protected $guarded = []; |
||
| 17 | |||
| 18 | // Forget cache on updating or saving and deleting |
||
| 19 | public static function boot() |
||
| 29 | }); |
||
| 30 | } |
||
| 31 | |||
| 32 | // Cache Keys |
||
| 33 | private static function cacheKey() |
||
| 34 | { |
||
| 35 | Cache::has('clients') ? Cache::forget('clients') : ''; |
||
| 36 | } |
||
| 37 | |||
| 38 | // Logs |
||
| 39 | protected static $logName = 'client'; |
||
| 40 | |||
| 41 | public function getActivitylogOptions(): LogOptions |
||
| 44 | } |
||
| 45 | |||
| 46 | public function __construct(array $attributes = []) |
||
| 51 | } |
||
| 52 | |||
| 53 | // Accessors |
||
| 54 | public function getImageAttribute() |
||
| 57 | } |
||
| 58 | |||
| 59 | public function getIconImageAttribute() |
||
| 64 |
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