Unify the spelling of MIME in documentation
[lhc/web/wiklou.git] / includes / libs / lessc.inc.php
index 57d45ed..61ed771 100644 (file)
@@ -1,7 +1,7 @@
 <?php
-
+// @codingStandardsIgnoreFile File external to MediaWiki. Ignore coding conventions checks.
 /**
- * lessphp v0.4.0@b7cd5c79e8
+ * lessphp v0.4.0@2cc77e3c7b
  * http://leafo.net/lessphp
  *
  * LESS CSS compiler, adapted from http://lesscss.org
@@ -847,7 +847,7 @@ class lessc {
         * The input is expected to be reduced. This function will not work on
         * things like expressions and variables.
         */
-       protected function compileValue($value) {
+       public function compileValue($value) {
                switch ($value[0]) {
                case 'list':
                        // [1] - delimiter
@@ -1036,7 +1036,7 @@ class lessc {
                                        }
                                }
 
-                               if(!is_null($mime)) // fallback if the mime type is still unknown
+                               if(!is_null($mime)) // fallback if the MIME type is still unknown
                                        $url = sprintf('data:%s;base64,%s', $mime, base64_encode(file_get_contents($fullpath)));
                        }
                }