@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace SMW\DataValues\ValueFormatters; |
4 | 4 | |
5 | 5 | use SMWDataValue as DataValue; |
6 | -use SMWStringValue as StringValue; |
|
7 | 6 | use SMWOutputs as Outputs; |
8 | 7 | |
9 | 8 | /** |
@@ -72,6 +72,9 @@ |
||
72 | 72 | return $abbreviate && $length > 255 ? $this->getAbbreviatedText( $text, $length, $linker ) : $text; |
73 | 73 | } |
74 | 74 | |
75 | + /** |
|
76 | + * @param integer $length |
|
77 | + */ |
|
75 | 78 | private function getAbbreviatedText( $text, $length, $linker ) { |
76 | 79 | |
77 | 80 | if ( $linker === false || $linker === null ) { |
@@ -72,6 +72,9 @@ |
||
72 | 72 | return $abbreviate && $length > 255 ? $this->getAbbreviatedText( $text, $length, $linker ) : $text; |
73 | 73 | } |
74 | 74 | |
75 | + /** |
|
76 | + * @param integer $length |
|
77 | + */ |
|
75 | 78 | private function getAbbreviatedText( $text, $length, $linker ) { |
76 | 79 | |
77 | 80 | if ( $linker === false || $linker === null ) { |