Skip to content

Commit a985831

Browse files
committed
build: Remove unused Less_Output::isEmpty of private class
Introduced in 2014 with commit b6df4c2. It was not used there, and it is not used now. Found via https://doc.wikimedia.org/cover/mediawiki-libs-less.php/Output.php.html as method that lacked test coverage. Change-Id: I7efb04d4b1af19d6641303f7359f42a2d4c2b9af
1 parent ea44bbf commit a985831

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

lib/Less/Output.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,6 @@ public function add( $chunk, $fileInfo = null, $index = 0, $mapLines = null ) {
2525
$this->strs[] = $chunk;
2626
}
2727

28-
/**
29-
* Is the output empty?
30-
*
31-
* @return bool
32-
*/
33-
public function isEmpty() {
34-
return count( $this->strs ) === 0;
35-
}
36-
3728
/**
3829
* Converts the output to string
3930
*

0 commit comments

Comments
 (0)