Formatting code.
The build was successful.
Details
The build was successful.
Details
This commit is contained in:
parent
5f57ba54a4
commit
102e8447a1
|
@ -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;
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue