Conditions | 3 |
Paths | 3 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
14 | 1 | protected function createFeatureImageManager(?string $tag = null): ImageManager |
|
|
|||
15 | { |
||
16 | 1 | if (!$this->featureImageManager) { |
|
17 | 1 | $featureImageManagerConfig = property_exists($this, 'featureImageManagerConfig') ? $this->featureImageManagerConfig : 'nova-thinkit.feature-images.default'; |
|
18 | 1 | $this->featureImageManager = FeatureImageManager::fromConfig(config($featureImageManagerConfig)); |
|
19 | } |
||
20 | |||
21 | 1 | return $this->featureImageManager; |
|
22 | } |
||
46 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.