parent
5f57ba54a4
commit
102e8447a1
@ -4,7 +4,7 @@ class Program {
|
||||
int $tot_width = 30;
|
||||
char $symbol = '-';
|
||||
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 $last_position = $middle + $middle_word;
|
||||
int $number_of_spaces = $middle - $middle_word;
|
||||
|
@ -9,7 +9,7 @@ class Operations {
|
||||
break;
|
||||
case 'SUB':
|
||||
return int() using ($x, $y) {
|
||||
return $x - $y;
|
||||
return $x - $y;
|
||||
};
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user