@@ -1111,23 +1111,23 @@ discard block |
||
| 1111 | 1111 | } |
| 1112 | 1112 | |
| 1113 | 1113 | |
| 1114 | - /** |
|
| 1115 | - * Compiles a primitive value into a CSS property value. |
|
| 1116 | - * |
|
| 1117 | - * Values in lessphp are typed by being wrapped in arrays, their format is |
|
| 1118 | - * typically: |
|
| 1119 | - * |
|
| 1120 | - * array(type, contents [, additional_contents]*) |
|
| 1121 | - * |
|
| 1122 | - * The input is expected to be reduced. This function will not work on |
|
| 1123 | - * things like expressions and variables. |
|
| 1124 | - * |
|
| 1125 | - * @param array $value |
|
| 1126 | - * @param array $options |
|
| 1127 | - * |
|
| 1128 | - * @return string |
|
| 1129 | - * @throws GeneralException |
|
| 1130 | - */ |
|
| 1114 | + /** |
|
| 1115 | + * Compiles a primitive value into a CSS property value. |
|
| 1116 | + * |
|
| 1117 | + * Values in lessphp are typed by being wrapped in arrays, their format is |
|
| 1118 | + * typically: |
|
| 1119 | + * |
|
| 1120 | + * array(type, contents [, additional_contents]*) |
|
| 1121 | + * |
|
| 1122 | + * The input is expected to be reduced. This function will not work on |
|
| 1123 | + * things like expressions and variables. |
|
| 1124 | + * |
|
| 1125 | + * @param array $value |
|
| 1126 | + * @param array $options |
|
| 1127 | + * |
|
| 1128 | + * @return string |
|
| 1129 | + * @throws GeneralException |
|
| 1130 | + */ |
|
| 1131 | 1131 | public function compileValue(array $value, array $options = []) |
| 1132 | 1132 | { |
| 1133 | 1133 | try { |
@@ -2055,9 +2055,9 @@ discard block |
||
| 2055 | 2055 | $this->formatterName = $name; |
| 2056 | 2056 | } |
| 2057 | 2057 | |
| 2058 | - public function setFormatterClass($formatter) |
|
| 2059 | - { |
|
| 2060 | - $this->formatter = $formatter; |
|
| 2058 | + public function setFormatterClass($formatter) |
|
| 2059 | + { |
|
| 2060 | + $this->formatter = $formatter; |
|
| 2061 | 2061 | } |
| 2062 | 2062 | |
| 2063 | 2063 | /** |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | public static function factory(Compiler $compiler, Coerce $coerce, array $options, array $value) |
| 63 | 63 | { |
| 64 | 64 | $nameParts = explode('_', $value[0]); |
| 65 | - $camelCase = array_reduce($nameParts, function ($carry, $item) { |
|
| 65 | + $camelCase = array_reduce($nameParts, function($carry, $item) { |
|
| 66 | 66 | return $carry . ucfirst($item); |
| 67 | 67 | }, ''); |
| 68 | 68 | $valueClassName = 'LesserPhp\Compiler\Value\\' . $camelCase . 'Value'; |