| Conditions | 6 | 
| Paths | 4 | 
| Total Lines | 12 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php  | 
            ||
| 23 | public static function transform($value, $transform = null)  | 
            ||
| 24 |     { | 
            ||
| 25 |         if (empty($transform) || $transform == null || $transform == static::NONE) { | 
            ||
| 26 | return $value;  | 
            ||
| 27 | }  | 
            ||
| 28 |         if ($transform === static::UPPERCASE) { | 
            ||
| 29 | return Str::upper($value);  | 
            ||
| 30 | }  | 
            ||
| 31 |         if ($transform === static::LOWERCASE) { | 
            ||
| 32 | return Str::lower($value);  | 
            ||
| 33 | }  | 
            ||
| 34 | return $value;  | 
            ||
| 35 | }  | 
            ||
| 36 | }  |