| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 16 | 
| Code Lines | 11 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 13 | 
| CRAP Score | 1 | 
| Changes | 0 | ||
| 1 | <?php | ||
| 30 | 7 | public function properties(): string | |
| 31 |     { | ||
| 32 | return (string) $this | ||
| 33 | 7 | ->dependencies | |
| 34 | 7 | ->reduce( | |
| 35 | 7 | new Sequence, | |
| 36 | 7 |                 static function(Sequence $properties, Dependency $dependency): Sequence { | |
| 37 | 5 | return $properties->add((string) new PropertyName($dependency->name())); | |
| 38 | 7 | } | |
| 39 | ) | ||
| 40 | 7 |             ->map(static function(string $property): string { | |
| 41 | 5 | return (string) Str::of($property) | |
| 42 | 5 |                     ->prepend('    private $') | |
| 43 | 5 |                     ->append(';'); | |
| 44 | 7 | }) | |
| 45 | 7 |             ->join("\n"); | |
| 46 | } | ||
| 66 |