| @@ -3,7 +3,6 @@ | ||
| 3 | 3 | namespace ArjanSchouten\HtmlMinifier\Placeholders; | 
| 4 | 4 | |
| 5 | 5 | use ArjanSchouten\HtmlMinifier\PlaceholderContainer; | 
| 6 | -use ArjanSchouten\HtmlMinifier\Repositories\HtmlInlineElementsRepository; | |
| 7 | 6 | |
| 8 | 7 | class WhitespacePlaceholder implements PlaceholderInterface | 
| 9 | 8 |  { | 
| @@ -78,6 +78,9 @@ | ||
| 78 | 78 | $this->statistics->createReferencePoint($this->calculateInputLength($input), $keyName); | 
| 79 | 79 | } | 
| 80 | 80 | |
| 81 | + /** | |
| 82 | + * @param string $input | |
| 83 | + */ | |
| 81 | 84 | private function calculateInputLength($input) | 
| 82 | 85 |      { | 
| 83 | 86 | return mb_strlen($input, '8bit') + $this->placeholderContainer->getOriginalSize() - $this->placeholderContainer->getPlaceholderSize(); | 
| @@ -37,7 +37,7 @@ | ||
| 37 | 37 | } | 
| 38 | 38 | |
| 39 | 39 | /** | 
| 40 | - * @return float | |
| 40 | + * @return integer | |
| 41 | 41 | */ | 
| 42 | 42 | public function getKiloBytes() | 
| 43 | 43 |      { | 
| @@ -17,7 +17,7 @@ | ||
| 17 | 17 | /** | 
| 18 | 18 | * Get all the steps which are measured. | 
| 19 | 19 | * | 
| 20 | - * @return array | |
| 20 | + * @return ReferencePoint[] | |
| 21 | 21 | */ | 
| 22 | 22 | public function getReferencePoints(); | 
| 23 | 23 | |