We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
1 | <?php |
||
9 | trait Sluggable |
||
10 | { |
||
11 | use OriginalSluggable; |
||
12 | |||
13 | /** |
||
14 | * Hook into the Eloquent model events to create or |
||
15 | * update the slug as required. |
||
16 | */ |
||
17 | public static function bootSluggable() |
||
21 | |||
22 | /** |
||
23 | * Clone the model into a new, non-existing instance. |
||
24 | * |
||
25 | * @param array|null $except |
||
26 | * @return Model |
||
27 | */ |
||
28 | public function replicate(array $except = null) |
||
35 | |||
36 | /** |
||
37 | * Query scope for finding "similar" slugs, used to determine uniqueness. |
||
38 | * |
||
39 | * @param \Illuminate\Database\Eloquent\Builder $query |
||
40 | * @param \Illuminate\Database\Eloquent\Model $model |
||
41 | * @param string $attribute |
||
42 | * @param array $config |
||
43 | * @param string $slug |
||
44 | * @return \Illuminate\Database\Eloquent\Builder |
||
45 | */ |
||
46 | public function scopeFindSimilarSlugs(Builder $query, Model $model, $attribute, $config, $slug) |
||
56 | } |
||
57 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.