Formatting code.
Todas las comprobaciones han sido exitosas
The build was successful.

Este commit está contenido en:
2019-04-17 10:08:03 +02:00
padre 5f57ba54a4
commit 102e8447a1
Se han modificado 2 ficheros con 2 adiciones y 2 borrados

Ver fichero

@@ -4,7 +4,7 @@ class Program {
int $tot_width = 30; int $tot_width = 30;
char $symbol = '-'; char $symbol = '-';
int $middle = (int) round($tot_width/2); int $middle = (int) round($tot_width/2);
int $length_word = strlen($word); int $length_word = strlen($word);
int $middle_word = (int) round($length_word / 2); int $middle_word = (int) round($length_word / 2);
int $last_position = $middle + $middle_word; int $last_position = $middle + $middle_word;
int $number_of_spaces = $middle - $middle_word; int $number_of_spaces = $middle - $middle_word;

Ver fichero

@@ -9,7 +9,7 @@ class Operations {
break; break;
case 'SUB': case 'SUB':
return int() using ($x, $y) { return int() using ($x, $y) {
return $x - $y; return $x - $y;
}; };
break; break;
default: default: