← All changes
|
src/Addons/CustomColumns/Columns/AbstractCustomColumn.php
+1
-1
6.1.0
→
8.0.2
View file →
| @@ -46,9 +46,9 @@ | ||
| 46 | 46 | public function getData() : array { |
| 47 | 47 | return $this->data; |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | - public function getSlug( string $prefix = null ) : string { | |
| 50 | + public function getSlug( ?string $prefix = null ) : string { | |
| 51 | 51 | // Prefix is used to store custom field for percentage and fixed type |
| 52 | 52 | return ( $prefix ? $prefix . '_' . $this->slug : $this->slug ); |
| 53 | 53 | } |
| 54 | 54 | |